From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

System.IO.fileloadException: Could not load file or assembly NationalInstruments.Common, Version=13.0.40.188 The located assembly's manifest definition does not match the assembly reference.

For more detailed troubleshooting information, could you post the Fusion Log for the deployed project with TargetCPU set x86 and using the 32-bit NationalInstruments.Common DLL (or set to x64 with the 64-bit DLL - as long as matching bitness is forced) and containing the redirect configuration file? We've been discussing several variables and different error messages, so it would be helpful to control these variables and get a Fusion Log for detailed information about the assembly binding.

Taylor B.
National Instruments
0 Kudos
Message 31 of 37
(4,181 Views)

Attaching fusion logs for posted example, targets x86 and x64.

 

Download All
0 Kudos
Message 32 of 37
(4,172 Views)

I'm having trouble replying to this thread, but I wanted to point out that there is a file not found exception in "Fusion\Default\NiTdmsCommon.exe\NiTdmsCommon.resources, Version=1.0.0.0, Culture=en, PublicKeyToken=null.HTM".

 

The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.

 

Taylor B.
National Instruments
0 Kudos
Message 34 of 37
(4,092 Views)

What is the error message that corresponds with the poted Fusion Logs?

Taylor B.
National Instruments
0 Kudos
Message 35 of 37
(4,064 Views)

The previous reply with the attached images show the errors.

 

initial-error.png ‏28 KB
redirect-error.png ‏22 KB

 

 

0 Kudos
Message 36 of 37
(4,031 Views)

If you are using C#, just at the reference there copy local set to true

0 Kudos
Message 37 of 37
(1,274 Views)