NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Bug in TestStand: relative path remembers previous absolute path

Solved!
Go to solution

I have a TestStand sequence that uses .NET objects. I want to refer to the parent assembly via relative path (..\bin\Tests.dll)

Originally, the absolute path for this file was E:\git\bin\Tests.dll

It is now 😧\git\bin\Tests.dll

 

My sequence is currently 😧\git\seq\Bar.seq

So the relative path ..\bin\Tests.dll should be pointing to the 😧 drive version.

But it does not and I cannot seem to force it to no matter what I do. It keeps trying to find it in the original location.

 

Details

When I try to set relative path (..\bin\Tests.dll) TestStand keeps remembering and complaining about the original absolute path E:\git\bin\Tests.dll

If there is an E:\git\bin\Tests.dll it finds that version and points to it, even though I want the D:\git\bin\Tests.dll version.

If there is not an E:\git\bin\Tests.dll version it does not find anything, even though it should find 

 

 

TestStandRel.png

How do I get TestStand to get the relative paths to work as they should?

 

TestStand Engine Version 2016 f1 (16.0.0.193) 32-bit

Sequence Editor Version 16.0.0.193

0 Kudos
Message 1 of 2
(2,123 Views)
Solution
Accepted by topic author cmz

Found my own problem. Relative path is ..\..\bin\Tests.dll

Missing an extra ..\

0 Kudos
Message 2 of 2
(2,122 Views)