Measurement Studio for VC++

Showing results for 
Search instead for 
Did you mean: 

Compilation warning with MS13 dll in Visual Studio 2015


Compilation warning with MS13 dll in Visual Studio 2015



We have an application built with Visual Studio 2015. This was migrated from Measurement Studio 2013 to Measurement Studio 2015 but used dlls were not updated to match MS2015.

We have following three dlls from MS13 and it all works fine.

Name ----------------------------- Version





problem starts when I add following two MS13 dlls to my project




I start getting compilation error for version mistach with system installed MS15 Dlls


 Severity Code Description Project File Line Suppression State
Error Exception occurred creating type 'NationalInstruments.Restricted.AnalysisLicenser, NationalInstruments.Analysis.Enterprise, Version=, Culture=neutral, PublicKeyToken=4febd62461bf11a4' System.IO.FileNotFoundException: Could not load file or assembly 'NationalInstruments.Common, Version=, Culture=neutral, PublicKeyToken=dc6ad606294fc298' or one of its dependencies. The system cannot find the file specified. AxisParameters C:\GIT\PTest\AxisParameters\Properties\licenses.licx 1


and below is 'liecense.licx' file

NationalInstruments.Restricted.AnalysisLicenser, NationalInstruments.Analysis.Enterprise, Version=, Culture=neutral, PublicKeyToken=4febd62461bf11a4


and below is entry in .csproj file

<Reference Include="NationalInstruments.Analysis.Enterprise, Version=, Culture=neutral, PublicKeyToken=4febd62461bf11a4, processorArchitecture=MSIL">
<Reference Include="NationalInstruments.Common, Version=, Culture=neutral, PublicKeyToken=4febd62461bf11a4, processorArchitecture=MSIL">
<Reference Include="NationalInstruments.NiLmClientDLL, Version=, Culture=neutral, PublicKeyToken=4febd62461bf11a4, processorArchitecture=MSIL">


How to avoid conflict between application's MS13 dll and system installed MS15 dlls?

0 Kudos
Message 1 of 2

Re: Compilation warning with MS13 dll in Visual Studio 2015

Check out this forum post, I think that it answers your question nicely:

Francine P.
Applications Engineering
National Instruments
0 Kudos
Message 2 of 2