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.