• Register
0 votes
49 views

Problem :

I have recently installed the Visual Studio 2012 Release Preview, and it works fine, however now when I want to use Visual Studio 2010 to compile my C++ projects, I am facing below error message:

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

I have also tried repairing my Visual Studio 2010 by using Add/Remove programs and after that rebooting however no change.

I also face the same error if I try to use Visual Studio 2012 RC to compile my C++ projects whenever I try to use the Visual Studio 2010 toolset.

I have also tried to uninstall my Visual Studio 2012 and rebooted my box but the problem still persists!.

Does anyone has any solution on it.

6 5 3
7,540 points

1 Answer

0 votes

Solution :

Please follow below approach to resolve your issue :

Step : 01

Project Properties

   -> Configuration Properties

       -> Linker (General)

          -> Enable Incremental Linking -> "No (/INCREMENTAL:NO)"

If the Step 1 is not working for you then try Step 2

Step : 02

Project Properties

   -> Configuration Properties

       -> Manifest Tool (Input and Output)

          -> Enable Incremental Linking -> "No"

If the Step 2 is also not working for you then try Step3 Copy file one of:

Step : 03

a)   C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\cvtres.exe

b)    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\cvtres.exe

c)    C:\Program Files (x86)\Microsoft Visual Studio 13.0\VC\bin\cvtres.exe

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

9 7 4
38,600 points

Related questions

1 vote
1 answer 34 views
34 views
Problem : I am unable to build my projects as I am facing below message: “Unable to find manifest signing certificate in the certificate store”. I have tried to run my Visual Studio as the Administrator and also I have tried to manually add my keys to ... Project Properties but above error is still appearing. I am unable to fix above error. Can someone guide me in fixing above error?
asked Apr 4 morrisBson 3.2k points
0 votes
1 answer 394 views
394 views
Problem : I am using the Visual Studio 2010 in a debug mode and I have "optimize code" unchecked. I am unable to quick watch (or hover on) any variable in my debugger. I encountered following error "Cannot evaluate expression because the code of the current method ... ' as it is not available at this instruction pointer, possibly because it has been optimized away." Am I missing any setting here ?
asked Jan 18 jwilliam 3.9k points
1 vote
2 answers 162 views
162 views
Problem : I am very new to Ionic, I have recently started working on Ionic but I am facing below error: Runtime Error Uncaught (in promise): Error: Module build failed: Error: ENOENT: no such file or directory, open '/Users/stewart/Development/ionic/theWhoZoo/src/pages ... say they do match. import { MyRatingModel } from '../model/myratingModel'; How can I fix above error need Ionic expert help.
asked Apr 22 stewart 4k points
1 vote
1 answer 51 views
51 views
Problem : I am trying to using Qt 5.1.1 with Visual Studio 2012 Application is compiled in "Release"-mode and can be executed if directly started with Qt Creator. But when starting from the "release"-Folder, i get the following error this application failed to start because it could not find or load the qt platform plugin windows
asked Nov 11, 2019 peterlaw 6.9k points