VeriStand Models Fail to Compile with LNK 1123 Error

Updated Dec 22, 2023

Reported In


  • LabVIEW Model Interface Toolkit
  • VeriStand 2017 PC
  • VeriStand

Issue Details

I tried to compile my VeriStand models, but now they all fail with a LNK1123 error. Why are my builds failing?


  • This issue can be caused by installing .NET Framework 4.5 because it breaks the MSVC 2010 compilers. The easiest potential fix is to apply all service packs and updates for your version of Microsoft Visual Studio or Windows SDK. Refer to Microsoft Support Article 2757355 for more information.
  • If you are using the Windows 7.1 SDK, a patch is available. However, uninstallation and reinstallation of the SDK may be required.
  • There are two cvtres.exe in different file path of the system which are located at C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cvtres.exe and C:\Windows\Microsoft.NET\Framework\v4.0.30319\cvtres.exe. You have to copy the file path C:\Windows\Microsoft.NET\Framework\v4.0.30319\cvtres.exe to the first file path.

Additional Information

The MSVC 2010 compilers are used to compile models for Windows and PharLap ETS VeriStand targets. Using a broken compiler results in error LNK1123. The .NET 4.5 Framework should be installed with NI VeriStand 2015 SP1 and later because it is required by the UI Manager.

If this article doesn't resolve your issue, please refer to this KnowledgeBase.