• Register
0 votes
96 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

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

1 vote
1 answer 3 views
3 views
Problem: After installing visual studio 2012 but when I use its 2010 version I get this error: 1>link : fatal error lnk1123: failure during conversion to coff: file invalid or corrupt.
asked Apr 24 PkGuy 23.5k points
1 vote
1 answer 3 views
3 views
Problem: I’m getting this error on running a simple program in VS2010 : LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corruptWhat am I supposed to do ?
asked May 3 Raj Tyagi 15.6k points
0 votes
1 answer 2 views
2 views
Problem: I am in trouble while solving it .. please help me .. The program can't start because msvcp110.dll is missing
asked 4 days ago Ifra 37.2k points
0 votes
1 answer 34 views
34 views
Problem: error hresult e_fail has been returned from a call to a com component.
asked Feb 15 Ethan ross 2.7k points
0 votes
0 answers 20 views
20 views
Problem: Hi, any idea that what should I do to fix it…I am new in php kb2468871v2 does not apply, or is blocked by another condition on your computer.
asked Mar 24 Ifra 37.2k points
0 votes
1 answer 5 views
5 views
Problem: Anyone knows how > How would you display the designer window if it is not visible in your project?
asked Apr 28 ummeshani 10.8k points
0 votes
1 answer 13 views
13 views
Problem: Does anyone know the solution of it? So kindly let me know ..the procedure entry point _except1 could not be located
asked Apr 21 Ifra 37.2k points
0 votes
1 answer 4 views
4 views
Problem: Which of the following is being constructed in the image?
asked 1 day ago Junia Phoebe 15.3k points
0 votes
1 answer 4 views
4 views
Problem: Get a error liek this: input array is longer than the number of columns in this table.both datatable have 6 columns, what could be the problem?
asked May 4 sumaiya simi 43.9k points
1 vote
1 answer 4 views
4 views
Problem : When I run the program there's an error in cmd.ExecuteReader(). Data type mismatch in criteria expression ,I got this : Private Sub OK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK.Click Dim con As New OleDbConnection("Provider=Microsoft. ... valid!") Me.Hide() Else MessageBox.Show("Invalid Tenant ID or password!") End If Please help how to fix this error?
asked Apr 14 Sabbir Hossain 14.6k points