Completely resolve Link:fatal error LNK1123: Failed to convert to COFF: invalid or corrupted file __vs

Source: Internet
Author: User


Recently my VS2010 don't know how, usually with good, recently unexpectedly appeared the so-called

Link:fatal Error LNK1123: Failed during conversion to COFF: invalid or corrupted file

Headache extremely, checked all kinds of data has no solution, today in order to encapsulate resources, embedded list, so at the cost of careful looking for the next, finally have a solution.

Usually we are the project--> project Properties--> Configuration Properties--> Connector--> manifest file--> the "yes" in the embedded list to "No", do not allow him to embed the list, naturally do not need to convert, so easy to compile. Although trouble points, each new project must be set, but better than not compile it.

But this time, no, because my program to add RC, must take a list to normal use. So the solution to the symptoms and not the root causes of failure.

According to conjecture, it is possible that the system has been updated more than once, with two versions of Cvtres.exe. And the system variables in the two are quoted, compile, do not know which, resulting in errors.

This is good to do, delete a bai.

One in C:\Windows\Microsoft.NET\Framework\v4.0.30319\cvtres.exe, another in the software directory where you install vs. \microsoft Visual Studio 10.0\vc\bin\cvtres.exe

Then right-key property--> Details View the two version number, the boss of the kill off, it is over. Mine is in the. \microsoft Visual Studio 10.0\vc\bin\cvtres.exe for the old version, erase it all is normal.

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.