Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx 8.7.1 gives MSB3247: Found Conflicts Between Different Versions of the Same Dependent Assembly warning in VS2005

Solved!
Go to solution
I just installed DAQmx 8.7.1 (with no other version currently installed) and I noticed that I'm always getting the "MSB3247: Found Conflicts Between Different Versions of the Same Dependent Assembly" warning, even for new projects.

To get the warning I create a new project, and add references to NationalInstruments.Common.dll (Version 8.1.20.618) and NationalInstruments.DAQmx.dll (Version 8.7.20.11).  Compile it and I get the warning.

NationalInstruments.DAQmx.dll references NationalInstruments.Common.dll (Version 8.1.20.616).  Version 8.1.20.616 wasn't distributed with DAQmx 8.7.1.  The reference in NationalInstruments.DAQmx.dll cannot be changed.  I can't see any way to get rid of this error without adding remapping to the app.config file.  I really don't want to do this, however, because that's file that needs to be maintained.

Has anyone else seen this? It seems like National Instruments mistakenly released an old version of NationalInstruments.DAQmx.dll.
0 Kudos
Message 1 of 4
(5,930 Views)
Hi rnigro,

If you can provide your DAQmx revision letter, then I will be able to look into this more closely. You can find the revision in Measurement and Automation Explorer [1]. However, I think you can safely igore the warning and update your app.config file as recommended in our KnowledgeBase [2].

[1] MAX Software Tree -- NI-DAQmx
http://forums.ni.com/attachments/ni/232/6904/1/DAQmx-version.png

[2] Building a Measurement Studio Project in Visual Studio 2005 Results in Warning MSB3247: Found Conflicts Between Different Versions of the Same Dependent Assembly
http://digital.ni.com/public.nsf/allkb/17146CC2A32D47338625712D005E4CC8?OpenDocument


Message Edited by Joe F. on 05-08-2008 12:44 PM
Joe Friedchicken
NI Configuration Based Software
Get with your fellow OS users
[ Linux ] [ macOS ]
Principal Software Engineer :: Configuration Based Software
Senior Software Engineer :: Multifunction Instruments Applications Group (until May 2018)
Software Engineer :: Measurements RLP Group (until Mar 2014)
Applications Engineer :: High Speed Product Group (until Sep 2008)
Message 2 of 4
(5,904 Views)
Solution
Accepted by topic author rnigro

Hi rnigro,

Sorry for the inconvenience. This is just how the versioning of the NationalInstruments.Common.dll works and should not really cause a problem in your application apart from the warning message. Please look at the help topic Measurement Studio .NET Class Library Versioning for Development and Deployment under
NI Measurement Studio Help >> Deploying Measurement Studio Applications >> Measurement Studio Versioning
and Deployment
. Under the "Common .NET Class Library Versioning for Development" section you will find an explanation of why this happens and that it is safe to ignore this warning.

Please let us know if you have any further questions.

 

Thanks,

Canisius

Message 4 of 4
(5,888 Views)