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

Source: Internet
Author: User

Some time ago your own system has been installed updates, and today suddenly opened VS2010 when the execution of the error LNK1123: conversion to COFF period failure: invalid or corrupt file, and then on Baidu

Workaround:

1. Project \ properties \ Configuration properties \ manifest tools \ input and output \ Embed list: The original is "yes" and changed to "no".

or the

Project \ properties \ configuration properties \ linker \ manifest file \ Generate manifest: The original is "yes" and changed to "no".

(This method fails, most of the solutions on the Internet are like this)

2. This error is due mainly to the fact that the system update causes the Cvtres.exe version 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 following directory

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 directory where you install VS,

You only need to replace the Cvtres.exe under the former path to the Vs/vc/bin directory.

"Turn" http://blog.csdn.net/computer_liuyun/article/details/25138067

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.