10-26-2010 11:42 AM
Thanks.
12-21-2010 04:06 PM
Hi, I am having a similar problem I think. Based on the below error message, I think I need NationalInstruments.VisaNS.dll version 8.5.20.310. I have versions: 8.9.20.108, and 8.9.20.108, but not 8.5.20.310.
Here is my error message.
Unhandled exception has occurred in your application. If you click
Continue, the application will ignore this error and attempt to continue. If
you click Quit, the application will close immediately.
Could not load file or assembly 'NationalInstruments.VisaNS,
Version=8.5.20.310, Culture=neutral,
PublicKeyToken=4544464cdeaab541' or one of its dependencies. The
located assembly's manifest definition does not match the assembly
reference. (Exception from HRESULT: 0x80131040)
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.IO.FileLoadException: Could not load file or assembly 'NationalInstruments.VisaNS, Version=8.5.20.310, Culture=neutral, PublicKeyToken=4544464cdeaab541' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'NationalInstruments.VisaNS, Version=8.5.20.310, Culture=neutral, PublicKeyToken=4544464cdeaab541'
at ......
12-22-2010 10:21 AM
Hi DavidB Nor Cal,
Are you also using Sandcastle? Did you try the solutions already listed in the thread?
12-22-2010 11:26 AM
Hi Hassan A,
Thank you for your prompt reply.
No, I am not using Sandcastle.
I am maintaining (fixing bugs) in a standalone application someone else wrote (now long gone) that communicates with test and measurement instrumentation via USB. Everything works fine on Windows XP machines. When I try to run it on various Windows 7 machines I get that error. I looked at the solutions in this and other threads and I think I need to include version 8.5.20.310 of NationalInstruments.VisaNS. But if you think it may be something else, I welcome your input.
Thanks,
David
12-27-2010 11:08 AM
Hi,
I still need this help.
Thanks,
David
12-27-2010 02:39 PM
Hi David,
Since you're not using Sandcastle, simply giving you the file may not solve the problem you are seeing. I'd like to find out why the .NET assembly is not properly binding to the new assembly version. Would you be able to get a fusion log, so we can explore the assembly binding? Here's a community document that explains how to do this:
Let me know what this log shows. Take care!
12-30-2010 06:18 PM
Hi Tanya,
You were right.
I was able to resolve the problem without getting that specific file.
Thanks for your help.
David
11-23-2012 05:20 AM
Hello,
I found this while googling. it is a bit old but Sandcastle installation is hit with this problem.
I receive the message
MREFBUILDER : error : Unresolved assembly reference: NationalInstruments.Common (NationalInstruments.Common, Version=9.0.35.610, Culture=neutral, PublicKeyToken=18cbae0f9955702a) required by NationalInstruments.DAQmx
So it seems I need 9.0.35.610.
Thanks in advance and kind regards,
Florian
11-26-2012 09:57 AM
11-26-2012 10:25 AM
Hi,
thank you for replying!
Unfortunately I have not been able to track down the files myself.
regards,
fschricker