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: 

higher version than referenced assembly

Solved!
Go to solution

Getting the following error:

 

Assembly 'NationalInstruments.DAQmx, Version=14.1.45.13, Culture=neutral, PublicKeyToken=4febd62461bf11a4' uses 'NationalInstruments.Common, Version=13.0.40.190, Culture=neutral, PublicKeyToken=dc6ad606294fc298' which has a higher version than referenced assembly 'NationalInstruments.Common, Version=13.0.40.188, Culture=neutral, PublicKeyToken=dc6ad606294fc298' 

 

NI 14.1; MeasurementStudio2013; VisualStudio2012; Windows 8.1

0 Kudos
Message 1 of 3
(5,159 Views)
Solution
Accepted by topic author Vibhav92

Hi Vibhav92,

 

Could you verify if 13.0.40.190 version (or higher) of NationalInstruments.Common.dll is present on your system (i.e in the .NET GAC folder and Mesurement Studio 2010 folder).

 

.NET GAC folder: C:\Windows\Microsoft.NET\assembly\GAC_MSIL

Measurement Studio 2010 folder: C:\Program Files (x86)\National Instruments\MeasurementStudioVS2010\DotNET\Assemblies (on 64-bit machine)

 

If yes, please delete the current reference to NationalInstruments.Common.dll in your Visual Studio 2012 project and re-add the reference to NationalInstruments.Common.dll reference using the Add Reference dialog of Visual Studio 2012 in your project. Make sure the reference to NationalInstruments.Common.dll in your Visual Studio 2012 project is 13.0.40.190 or higher.

 

- Raghavendra

0 Kudos
Message 2 of 3
(5,153 Views)

It worked for me. Although in my case DAQmx is 20.7 and Common is 19.1

Thanks,

0 Kudos
Message 3 of 3
(1,493 Views)