title: how to modify .csproj file using xml
body: <p>my csproj file contain below itemgroup.</p>
  
  <pre><code>  &lt;ItemGroup&gt;
      &lt;Compile Include="Properties\AssemblyInfo.cs" /&gt;
    &lt;/ItemGroup&gt;
  </code></pre>
  
  <p>i wanted to replace    </p>
  
  <pre><code>&lt;Compile Include="Properties\AssemblyInfo.cs" /&gt; //it have little bit space between Properties\AssemblyInfo.cs" and closing tag(/&gt;)
  To    
  &lt;Compile Include="Properties\AssemblyInfo.cs"/&gt; //it have no space.
  </code></pre>
  
  <p>i don't want any space.how to achive it using  XDocument linq.</p>