NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Compile Simple Operator interface in vs2015

If i compile the "Simple Operator Interface" in Visual Studio 2015 I get this error (in VS 2013 express it's ok)

 

Severity Code Description Project File Line
Error  The command "call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\..\Tools\vsvars32.bat"
link.exe /edit /LARGEADDRESSAWARE /nxcompat:no /DYNAMICBASE:NO "M:\tmp\neo\TM4\Teststand UserInterfaces\26-12-2016-Single Pass - Copy\CSharp\Source Code\bin\x86\Debug\TestExec.exe"" exited with code 9009. TestExec.VS2010 

 

 

I can still run the project in spite of this problem..

 

any ideas what it means ?

0 Kudos
Message 1 of 6
(4,862 Views)

Hi,

 

What version of TestStand are you using?

 

The error seems to suggest that the file which is being called is in C:\Program Files (x86)\Microsoft Visual Studio 14.0\... , yet you are using VS 2015?

 

It could be a compatibility issue - as in the version of TestStand may have been developed for use with VS14; so use with 15 may still work, but could be unsupported (i.e. TestStand has not been developed to purposely work with this version).

 

Does the project still run perfectly (ignoring the error)?

Amy K
Applications Engineer
National Instruments UK & Ireland
0 Kudos
Message 2 of 6
(4,800 Views)

I'm using

Visual Studio 2015 (14.0.23107.0 D14REL)

Teststand 2014 (SP1 f1 - 14.0.1.110 - 32 bit)

 

I was able to compile and start the UI, but i have not yet tried if it actually works.

I don't really want to use something in our production which reports an error during compiling.

 

 

0 Kudos
Message 3 of 6
(4,780 Views)

Good morning,

 

Please see “Supported Microsoft Software” in the NI TestStand Version 2014 SP1 Release Notes (link attached), to see which versions of Visual Studio this version of TestStand supports.

 

Use the following Microsoft software with TestStand 2014 SP1:

  • Microsoft Visual Studio 2013, 2012, or 2010 (Visual Studio 2008 is allowed but not

supported.)

 

NI TestStand Version 2014 SP1 Release Notes

http://www.ni.com/pdf/manuals/372519w.pdf

 

This means that TestStand has been developed to work with VS 2013, 2012 & 2010 – it may or may not work with 2015, but is not supported i.e. it could be unstable.

 

Hope this helps.

Amy K
Applications Engineer
National Instruments UK & Ireland
0 Kudos
Message 4 of 6
(4,778 Views)

Go to the links on how to edit build "Post-build event command line":

 

"https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/how-to-set-enviro..."

 

https://docs.microsoft.com/en-us/visualstudio/ide/how-to-specify-build-events-csharp

 

I am using Visual Studio 2017 Professional and TestStand 2016 SP1.

Message 5 of 6
(3,361 Views)

You have also to check that the C++ tools are installed ...

 

Visual Studio 2017

If you are using VS2017, during the installation, make sure to check "Desktop development with C++"

Manu.net
Message 6 of 6
(2,870 Views)