VS2010 LNK1123: Failed during transition to COFF: invalid or corrupt file

Source: Internet
Author: User

This error occurs when compiling a C + + project with VS2010:

LNK1123: Failure during transition to COFF: invalid or corrupt file

Workaround:

1, search Cvtres.exe under the C-disk, the results are similar to the list:

C:\Program Files\Microsoft Visual Studio 10.0\vc\bin
C:\Windows\winsxs\x86_netfx-cvtres_for_vc_and_vb_b03f5f7f11d50a3a_6.1.7601.17514_none_ba1c770af0b2031b

2. back up the Cvtres.exe in the C:\Program Files\Microsoft Visual Studio 10.0\vc\bin Directory First

3, copy the C:\Windows\winsxs\x86_netfx-cvtres_for_vc_and_vb_b03f5f7f11d50a3a_6.1.7601.17514_none_ba1c770af0b2031b directory Cvtres.exe to C:\Program Files\Microsoft Visual Studio 10.0\vc\bin directory, directly overwrite replace.

4, OK, open the test, if not, remember to restore the backup files.

This article is from the "oracle11g Recovery" blog, so be sure to keep this source http://51joblele.blog.51cto.com/9275297/1708548

VS2010 LNK1123: Failed 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.