Error 'LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt' after installing Visual Studio 2012 Release Preview -
i've installed visual studio 2012 release preview, , appears fine, when try use visual studio 2010 compile c++ projects, following error message:
link : fatal error lnk1123: failure during conversion coff: file invalid or corrupt
i'm not 100% sure of this, seems related projects have .rc (resource) files in them.
i've tried repairing visual studio 2010 add/remove programs , rebooting, has no effect.
i same error if use visual studio 2012 rc compile c++ projects when set use visual studio 2010 toolset. upgrading visual studio 2011 toolset fixes problem (but of course don't want production code).
update: i've uninstalled visual studio 2012, rebooted, , problem still persists! help!
this msdn thread explains how fix it.
to summarize:
either disable incremental linking, going
project properties -> configuration properties -> linker (general) -> enable incremental linking -> "no (/incremental:no)"or install vs2010 sp1.
edits (@craigringer): note installing vs 2010 sp1 remove 64-bit compilers. need install vs 2010 sp1 compiler pack them back.
this affects microsoft windows sdk 7.1 windows 7 , .net 4.0 visual studio 2010.
Comments
Post a Comment