title: Error 'LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt' after installing Visual Studio 2012 Release Preview
body: <p>I've installed Visual Studio 2012 Release Preview, and it appears to be fine, but now when I try to use Visual Studio 2010 to compile C++ projects, I get the following error message:</p>
  
  <blockquote>
    <p>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt</p>
  </blockquote>
  
  <p>I'm not 100% sure of this, but it seems to be related to projects that have <code>.rc</code> (resource) files in them.</p>
  
  <p>I've tried repairing Visual Studio 2010 from Add/Remove programs and rebooting, but this has no effect.</p>
  
  <p>I also get the same error if I use Visual Studio 2012 RC to compile the C++ projects when set to use the Visual Studio 2010 toolset. Upgrading to the Visual Studio 2011 toolset fixes the problem (but of course I don't want to do this for production code).</p>
  
  <p>Update: I've <em>uninstalled Visual Studio 2012</em>, rebooted, and the problem still persists! Help!</p>