Hi,
I have an application developed in C# that is built with "NationalInstruments.TestStand.Interop.API" version "4.0.0.326" on developer machine with SpecificVersion property (in Visual Studio, AddReference of the DLL) set to false.
On Deployment PC, the active version of TestStand is 4.1, version 4.1.0.228. The DLL version 4.0.0.326 is unavailable.
I was assuming the application to pick up the current active TestStand version DLL i.e. 4.1.0.228 from GAC and load to memory (at runmtime), but from the output it is evident that the .NET environment is loading in memory TestStand DLL version 4.0.0.326 if available, else throws exception "Unable to locate the DLL"
How can the .NET framework load the current active TestStand version? Is there any settings i'm missing.
Any help would be greatly helpful.
I've attached the sample source code (C#).