"fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt"解决方案

在用VS2010开发功能,编译工程总会出现如下错误:

fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt


上网查了下,原来是我的机子上既装了VS2010又装了VS2012的原因,如下操作下就可以了:

Project Properties -> Configuration Properties -> Linker (General) -> Enable Incremental Linking -> "No (/INCREMENTAL:NO)"

你可能感兴趣的:(error,VS2010,解决方案,vs2012)