What is happening is that you have a higher version of NationalInstruments.Common.dll on your system than some of your application's dependencies such at VisaNS were built against it.NationalInstruments.Common.dll is forward compatible, so your application will run just fine with a higher version of Common. In this case, you can build your application using the higher version of Common and everything will run ok because it is forward compatible.
The app.config file actually is the correct solution. What the app.config file is saying is for you application to run using the higher version. It is stating that any dependencies that require Common version 22.214.171.1242 should use 126.96.36.199 instead.
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.