title: What might cause a .resx file to compile correctly under Windows XP, but fail with error 137 under Windows 7 64 bit?
body: <p>I have run into a very strange scenario. There is a .resx file in my solution causing problems.</p>
  
  <p>Using Visual Studio 2010 running under Windows XP, the solution compiles without problems.</p>
  
  <p>Using Visual Studio 2010 running under Windows 7, 64 bit, the same solution reports a build failure with error 137</p>
  
  <p><code>An attempt was made to load a program with an incorrect format. Line 204, position 5.  [Path Sanitized]\RemoteFileView.resx</code></p>
  
  <p>The resource file in question appears to be valid, so I am at a loss to explain the problem.</p>
  
  <p>Can anyone suggest what might have gone wrong?</p>
  
  <p>Clarification: The line in question that VS 2010 is complaining about is a simple &lt;/data&gt; element. The XML appears to be well formed.</p>