When a given DLL refers to a specific version of the 2nd DLL, it works. But if version 2 is newer than the reference version, my library project that uses both libraries gives a warning:
Warning 1 Found conflicts between different versions of the same dependent assembly.
And FxCop states:
Warning 15 CA0060: The indirect link "NationalInstruments.Common, Version = 9.0.40.362, Culture = neutral, PublicKeyToken = dc6ad606294fc298" could not be found. This assembly is not required for analysis, but analysis results may not be complete. This assembly was referenced: SimpleReadWrite
Until these warnings are resolved, I cannot reference my library in another project. I'm trying to use
- NationalInstruments.NI4882.dll
In my project, SimpleReadWrite, but NationalInstruments.NI4882 is referenced
- NationalInstruments.Common.dll v9.0.40.362
and I could only find a newer version (9.1.40.159). How to solve this problem?
source share