Hmm ... this is strange. So just to confirm, your application is using NationalInstruments.Common.dll, NationalInstruments.UI.dll, and NationalInstruments.UI.WindowsForms.dll, and they're all in the application directory, right? Are any of these assemblies also in the GAC? If so, which ones? What are the versions of the assemblies in the application directory? If they're also in the GAC, what are the versions in the GAC? Are you running the application from a directory on your machine or from a network share?
I suggest using the .NET Framework SDK assembly binding log viewer (Fuslogvw.exe) application to help debug this. For more information on Fuslogvw.exe, see:
Also, you could download
Filemon, set the include filter to NationalInstruments.*, run your application, then look at the log to see where the application is looking for the dependent assembly. What do you find from taking logs with these two tools?
- Elton