• Register
0 votes

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

Please log in or register to answer this question.

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

0 votes
1 answer 11 views
Problem: error hresult e_fail has been returned from a call to a com component.
asked Feb 15 Ethan ross 1.8k points
1 vote
1 answer 66 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, 2020 morrisBson 3.2k points
0 votes
1 answer 618 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, 2020 jwilliam 3.9k points
1 vote
2 answers 454 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, 2020 stewart 4k points
1 vote
1 answer 85 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
0 votes
1 answer 7 views
Problem: are you missing a using directive or an assembly reference.
asked 6 days ago charles mathews 3.8k points
0 votes
1 answer 12 views
Problem: I just downloaded VS 2013 Community Edition and I wrote my first app. When I run it it shows in the output section: 'ConsoleApplication1.exe' (Win32): Loaded 'C:\Users\Toshiba\Documents\Visual Studio 2013\Projects\ConsoleApplication1\Debug\ConsoleApplication1.exe'. Symbols loaded ... problem? I checked my code on many sites so I know that the problem is not in my code. Can anyone help me?
asked Dec 27, 2020 Mashhoodch 9.1k points
0 votes
2 answers 1K views
Problem : I have recently downloaded VS 2013 Community Edition and I have written the first app. When I try to run it, it usually shows me the below output section: 'ConsoleApplication1.exe' (Win32): Loaded 'D:\Users\Toshiba\Documents\Visual Studio 2019\Projects\ConsoleApplication1 ... so I know that the problem is not in my code. Have anybody faced the above issue and know the solution on it?
asked Dec 21, 2019 alecxe 7.5k points
1 vote
1 answer 1.2K views
Problem : The below errors are often thrown when I try to run my ASP.NET MVC5 Web Project. Have anybody faced this issue before ? Any solution on my issue? Could not load file or assembly 'Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=, ... the assembly name resulted in the mismatch: Build Number ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing terminated.
asked Dec 14, 2019 alecxe 7.5k points