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

安装完Visual Studio 2010之后,第一个HelloWorld程序是Win32控制台程序,直接编译运行出现错误:

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


修改方法:

(右键新建的项目)

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

你可能感兴趣的:(1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt)