01-03-2020 01:51 PM
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?
06-02-2020 12:58 AM
Did you find a solution? I have the exact same issue with VS2019.
06-02-2020 02:42 AM
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)