01-29-2014 10:40 AM
Hello I have a vb.net 2010 application that references the NI VISA dll. This application only works on other computers if they are running the same version of NI VISA.
How do I compile the vb.net application to make it work with any version of NI VISA installed on a client computer?
Thanks,
Markus
01-29-2014 05:17 PM
Hello Markus,
In this case, your best bet would be to include with your executable a config file (appname.exe would have appname.exe.config) that includes binding redirect information for VISA versions.
Where it refers to the VISA assembly in your config file you would include a line as follows:
<bindingRedirect
oldVersion="old assembly version"
newVersion="new assembly version"/>
The following documentation discusses this:
07-13-2020 09:39 PM
Can you send me this example?
z-jzhao@163.com