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 18.104.22.1682 should use 22.214.171.124 instead.
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.