VS2010 about error LNK1123: Failure during transition to COFF: invalid or corrupt file

Source: Internet
Author: User

The previous period of time your own system has been installing the update. Suddenly opened VS2010 today. Error LNK1123 When running: Failed to convert to COFF: invalid or corrupt file . Then on Baidu

The workaround:

1. Project \ properties \ Configuration properties \ manifest tools \ input and output \ Embed list: The original is "yes" and changed to "no". or theproject \ Properties \ configuration properties \ linker \ manifest file \ Generate manifest: The original is "yes". Change to "no". (This method fails, most of the solutions on the Internet are like this)

2. This error is mainly due to the fact that the system update causes the Cvtres.exe version number in the compiler to be too low, so the workaround can be as follows

You can download VS2010 SP1 updated content on Microsoft's official website

Here's a straightforward way of saying,

First: Search the computer for cvtres.exe this file

Then: This file will be in the folder below

C:\Windows\winsxs\x86_netfx-cvtres_for_vc_and_vb_b03f5f7f11d50a3a_6.1.7601.17514_none_ba1c770af0b2031b

And, of course, you'll also have the Vc/bin folder with the VS installed,

You just need to replace the Cvtres.exe under the former path with the Vs/vc/bin folder.


VS2010 about error LNK1123: Failure during transition to COFF: invalid or corrupt file

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.