VS2010 link:fatal Error LNK1123: Failed during transition to COFF: (CC)

Source: Internet
Author: User

Ask Niang, the great God gives the solution:

VS2010 After some updates, the Win32 Console project will be "error LNK1123" errors when the solution is:

The Project | Project Properties | Configuration Properties | Inventory Tool | INPUT and OUTPUT | The Embed list is changed to "no", but it is set once for each new project.

If "Error LNK1123" errors are still occurring according to the solution above, the solution is as follows:

Search in your computer to see if there are multiple cvtres.exe.

such as:

One is C:\Program Files (x86) \microsoft Visual Studio 10.0\vc\bin\cvtres.exe

One is C:\Windows\Microsoft.NET\Framework\v4.0.30319\cvtres.exe.

Right-click Properties | Details to view both version numbers, delete/rename older versions, or reset the path variable.


Note: This method is a permanent solution, after removing the old version of Cvtres.exe, you do not need to set the configuration every time.

VS2010 link:fatal Error LNK1123: Failed during transition to COFF: (CC)

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.