0

私のcsprojファイルには、アイテムグループの下に含まれています。

  <ItemGroup>
    <Compile Include="Properties\AssemblyInfo.cs" />
  </ItemGroup>

交換したかった

<Compile Include="Properties\AssemblyInfo.cs" /> //it have little bit space between Properties\AssemblyInfo.cs" and closing tag(/>)
To    
<Compile Include="Properties\AssemblyInfo.cs"/> //it have no space.

XDocument linqを使用してそれを達成する方法。

4

1 に答える 1