VS2010 debugging C + + Project fatal error LNK1123 troubleshooting

Source: Internet
Author: User

recently wrote C + + projects with VS2010, it is strange that each build solution has a fatal error LNK1123 errors, prompting the generation to fail. Review the data summary solution as follows:


(1) Item--Properties--and connectors--generate manifest in the manifest file is modified to no this method generally resolves the problem, but it is set up once for each project you create.


(2) Find out if there are two Cvtres.exe delete older versions. The first one is in your VS2010 installation directory such as (D:\Program Files\Microsoft Visual Studio 10.0\vc\bin\cvtres.exe);

The second is C:\Windows\Microsoft.NET\Framework\v4.0.30319\cvtres.exe by right-clicking on the property, viewing the file version number, and deleting the older version. This method can solve this problem completely, and then create the project without having to modify the manifest file again.



VS2010 debugging C + + Project fatal error LNK1123 troubleshooting

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.