Reputation: 90475
When a given DLL references a specific version of a 2nd DLL it works. But if the version of the 2nd is newer than the referenced version, my library project, which uses both libraries, yields a warning:
Warning 1 Found conflicts between different versions of the same dependent assembly.
And FxCop states:
Warning 15 CA0060 : The indirectly-referenced assembly 'NationalInstruments.Common, Version=9.0.40.362, Culture=neutral, PublicKeyToken=dc6ad606294fc298' could not be found. This assembly is not required for analysis, however, analysis results could be incomplete. This assembly was referenced by: SimpleReadWrite
Until these warnings are solved I can't reference my library in no other project. I'm trying to use
In my SimpleReadWrite project, but NationalInstruments.NI4882 references
and I could only find a newer version (9.1.40.159). How to solve this problem?
Upvotes: 4
Views: 2518
Reputation: 20044
Here
http://digital.ni.com/public.nsf/allkb/46DE00265283A71586256FC000797682
is a description of how to repair your installation, which should reinstall the two DLLs hopefully with versions belonging together.
If you really want to try to mix those DLLs together (which most probably won't work), read this former SO post, it explains the necessary steps:
Upgrade a reference dll in a C# project without recompiling the project
Upvotes: 3