title: VS 2008 keeps removing and re-adding <SubType>ASPXCodeBehind</SubType>
body: <p>I've got a VS 2008 C# Web project and whenever I make some changes to the files in it (not even to the project file itself) VS will remove some lines like this from the csproj file:</p>
  
  <pre><code>&lt;SubType&gt;ASPXCodeBehind&lt;/SubType&gt;
  </code></pre>
  
  <p>So something like this:</p>
  
  <pre><code>&lt;Compile Include="Default.aspx.cs"&gt;
    &lt;DependentUpon&gt;Default.aspx&lt;/DependentUpon&gt;
    &lt;SubType&gt;ASPXCodeBehind&lt;/SubType&gt;
  &lt;/Compile&gt;
  </code></pre>
  
  <p>will become</p>
  
  <pre><code>&lt;Compile Include="Default.aspx.cs"&gt;
    &lt;DependentUpon&gt;Default.aspx&lt;/DependentUpon&gt;
  &lt;/Compile&gt;
  </code></pre>
  
  <p><strong>BUT</strong> the next time I work on this project it will add those lines back! It keeps going back and forth like this, resulting in a lot of meaningless "changes" in our source control system. This never used to happen with VS 2005 and it doesn't seem to be happening for other developers who work on the same project file, only for me.</p>
  
  <p>Does anyone know why this is happening and how I can stop it from doing this?</p>