Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

can't compile measurement studio example

It reports the following warning and error in building exe using VS2019,

--------------

1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2084,5): warning MSB3277: Found conflicts between different versions of "NationalInstruments.Common" that could not be resolved. These reference conflicts are listed in the build log when log verbosity is set to detailed.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2084,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "NationalInstruments.DAQmx", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
1>CSC : error CS1705: Assembly 'NationalInstruments.DAQmx' with identity 'NationalInstruments.DAQmx, Version=22.8.45.49361, Culture=neutral, PublicKeyToken=4febd62461bf11a4' uses 'NationalInstruments.Common, Version=19.1.40.49152, Culture=neutral, PublicKeyToken=dc6ad606294fc298' which has a higher version than referenced assembly 'NationalInstruments.Common' with identity 'NationalInstruments.Common, Version=19.0.40.49152, Culture=neutral, PublicKeyToken=dc6ad606294fc298'

 

----------------------

Do I need to download the older versions or there is a way I can change the setting of example Assembly to use the new version?

 

 

 

0 Kudos
Message 1 of 2
(1,136 Views)

Hi John

 

If you managed to solve this issue, do you possibly remember how you did it? 

 

I'm also struggling and would appreciate some guidance if you don't mind please 

0 Kudos
Message 2 of 2
(76 Views)