Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

Visual Studio 2010: Conversion to COFF failure

📅 2012-Sep-13 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ error, visual studio ⬩ 📚 Archive

Conversion to COFF failure.


I installed Visual Studio 2012. After that when I tried to open an older C++ project in Visual Studio 2010 and compile it, I get this error:

LINK: fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt


This is an error caused by the installation of Visual Studio 2012. To fix this, just download and install the Visual Studio 2010 Service Pack 1. The SP1 install takes a while. The error should be gone after that.

Tried with: Visual Studio 2010, Visual Studio 2012 and Windows 7 x64

© 2023 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘 Mastodon📧 Email