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

 

fatal error CVT1100: duplicate resource. type:manifest

 

今天初次使用VS2010版本,在coding完一个工程后,报错:

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

编译也没有任何错误,链接一直报错,也找不出什么原因,上网找了找,是工具的原因。

工具/原料

  • Microsoft Visual Studio 2010 英文版

方法/步骤

  1. project->xx Properties

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

  2. Manifest->Input and Output->Embed Manifest

    将yes修改为no

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

  4. 步骤阅读

     

  5. 3

    再重新编译OK了

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

  6.