Error 'LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt' after installing Visual Studio 2012 Release Preview

前端 未结 26 2784
误落风尘
误落风尘 2020-11-22 07:45

I\'ve installed Visual Studio 2012 Release Preview, and it appears to be fine, but now when I try to use Visual Studio 2010 to compile C++ projects, I get the following erro

26条回答
  •  野性不改
    2020-11-22 07:58

    To summarize:

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

    if step1 not work, do Step2

    Project Properties 
       -> Configuration Properties 
           -> Manifest Tool (Input and Output) 
              -> Enable Incremental Linking -> "No"
    

    if step2 not work, do Step3 Copy file one of:

    1. C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\cvtres.exe
    2. C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\cvtres.exe
    3. C:\Program Files (x86)\Microsoft Visual Studio 13.0\VC\bin\cvtres.exe

      Then, replace to C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\cvtres.exe With me, do 3 step it work

提交回复
热议问题