Software⏱️ 2 min read📅 2026-05-31

How to Fix: Error 'LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt' after installing Visual Studio 2012 Release Preview

Visual Studio 2010 resource file corruption issue after installing Visual Studio 2012 Release Preview.

Quick Answer: Try reinstalling Visual Studio 2010, or use the /nologo option when compiling to bypass resource files.

The error 'LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt' after installing Visual Studio 2012 Release Preview can be resolved by following these steps.

💡 Why You Are Getting This Error

  • The error is caused by the .rc files in your C++ projects, which are not compatible with Visual Studio 2010.

🔧 Proven Troubleshooting Steps

Method 1: Repairing Visual Studio 2010

  1. Step 1: Open the Control Panel and navigate to Programs and Features.
  2. Step 2: Click on Visual Studio 2010 and select 'Change' or 'Repair'.

Method 2: Removing .rc Files

  1. Step 1: Open your project in Visual Studio 2010.
  2. Step 2: Go to the 'Resources' tab and remove any .rc files from the project.

✨ Wrapping Up

By following these steps, you should be able to resolve the 'LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt' error in Visual Studio 2010.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions