title: C# Project Rebuilding Due to Resx File
body: <p>I am using VS 2013 and MSBuild.  I have a project that is always rebuilding due to a resx file.  I can tell by this due to the following line in my log:</p>
  
  <pre><code>Input file "obj\Release\Assembly.Properties.Resources.resources" is newer than output file "obj\Release\Assembly.pdb".
  </code></pre>
  
  <p>This is created earlier on in the build during the GenerateResource target.</p>
  
  <pre><code>Processing resource file "Properties\Resources.resx" into "obj\Release\Assembly.Properties.Resources.resources".
  </code></pre>
  
  <p>How do I stop the resx file from always being processed into the resources file?  This is a very central library in our source code and this recompiling is making our builds much longer.</p>
  
  <p>Here is the project xml for the relevant parts.</p>
  
  <pre><code>&lt;EmbeddedResource Include="Properties\Resources.resx"&gt;
    &lt;SubType&gt;Designer&lt;/SubType&gt;
    &lt;Generator&gt;ResXFileCodeGenerator&lt;/Generator&gt;
    &lt;LastGenOutput&gt;Resources.Designer.cs&lt;/LastGenOutput&gt;
  &lt;/EmbeddedResource&gt;
  
  &lt;Compile Include="Properties\Resources.Designer.cs"&gt;
    &lt;AutoGen&gt;True&lt;/AutoGen&gt;
    &lt;DesignTime&gt;True&lt;/DesignTime&gt;
    &lt;DependentUpon&gt;Resources.resx&lt;/DependentUpon&gt;
  &lt;/Compile&gt;
  </code></pre>