ayi <t>Error 'LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt' after installing Visual Studio 2012 Release Preview</t>
ayi <t>This MSDN thread explains how to fix it.<br/> <br/> To summarize: <br/> <br/> <br/> Either disable incremental linking, by going to <br/> <br/> Project Properties <br/> -> Configuration Properties <br/> -> Linker (General) <br/> -> Enable Incremental Linking -> "No (/INCREMENTAL:NO)"<br/> <br/> ```<br/> <br/> - <br/> or install VS2010 SP1.<br/> <br/> Edits (@CraigRinger): Note that installing VS 2010 SP1 will *remove the 64-bit compilers*. You need to install the [VS 2010 SP1 compiler pack](https://devblogs.microsoft.com/setup/visual-c-2010-sp1-compiler-update-for-the-windows-sdk-7-1/) to get them back.<br/> <br/> This affects **Microsoft Windows SDK 7.1 for Windows 7 and .NET 4.0** as well as **Visual Studio 2010**.</t>