VS2010 when writing a console application, when this error occurs, when creating the project, make the following settings:
VS2010 After some updates, the Win32 Console project will be "error LNK1123" errors, the solution for the Project | Project Properties | Configuration Properties | Inventory Tool | INPUT and OUTPUT | Embed list "yes" to "no", But you have to set it up one time without creating a new project.
When establishing the VS2010 Win32 Project project, "Error LNK1123" errors are still occurring according to the solution above, and the solution is as follows:
The first step: the same as on.
Step two: Change Project | Project Properties | Configuration Properties | connector | manifest File | Embed list to "no".
The third step: the general computer after the two-step setup can solve the problem, but if there are problems, then click the method to solve:
1. Whether the computer is a 64bit operating system, if so, continue to 2.
2. Find out if there are two cvtres.exe. One is C:\Program Files (x86) \microsoft Visual Studio 10.0\vc\bin\cvtres.exe and the other is C:\Windows\Microsoft.NET\Framework\v
4.0.30319\cvtres.exe. Right-click Properties | Details to view both version numbers, delete/rename older versions, or reset the path variable.
Fatal error LNK1123: Failed during transition to COFF: invalid or corrupt file