NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

compile simple interface with VS 2017

I am getting the error...


Error The command "call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\..\Tools\vsDevCmd32.bat"
link.exe /edit /LARGEADDRESSAWARE /nxcompat:no "D:\TestStand\UserInterfaces\Source Code\bin\x86\Release\TestExec.exe"" exited with code 9009. TestExec

 

I am Running TestStand 2019 and VS 2017.

I found the Post Build Event command line and changed it to read call "$(DevEnvDir)..\Tools\vsDevCmd32.bat" from vsvars32.bat.

I also tried a re-edit it to point explicitly to the directory where the file resided.

I also added the folder to the PC environment variable.

I am apparently just shotgunning and not understanding the root cause.

I have VS 2013 installed on my PC.  If that creates a conflict, I can uninstall it.

Any suggestions?

0 Kudos
Message 1 of 3
(3,478 Views)

Did you find a solution? I have the exact same issue with VS2019.

0 Kudos
Message 2 of 3
(2,553 Views)

Ok, after some searching i find this topic:
https://forums.ni.com/t5/NI-TestStand/Compile-Simple-Operator-interface-in-vs2015/m-p/3745879/highli...

you have to change the build event: Replace VSVARS32.bat with VsDevCmd.bat (Visual Studio 2015 and earlier versions used VSVARS32.bat / See the links in the topic above)

0 Kudos
Message 3 of 3
(2,546 Views)