Switch Hardware and Software

Showing results for 
Search instead for 
Did you mean: 

Using MS Fakes with NI-SWITCH

I have a project that references the NationalInstruments.ModularInstruments.NISwitch.Fx45, Version= DLL and it runs fine. I want to write a unit test for this project using MS Fakes. I've successfully done this for NI-DMM but for the NI-SWITCH DLL above I'm getting this error message:


Error	CS1705	Assembly 'NationalInstruments.ModularInstruments.NISwitch.Fx45' with identity 'NationalInstruments.ModularInstruments.NISwitch.Fx45, Version=, Culture=neutral, PublicKeyToken=4febd62461bf11a4' uses 'NationalInstruments.Common, Version=, Culture=neutral, PublicKeyToken=dc6ad606294fc298' which has a higher version than referenced assembly 'NationalInstruments.Common' with identity 'NationalInstruments.Common, Version=, Culture=neutral, PublicKeyToken=dc6ad606294fc298'


I don't have a reference to NationalInstruments.Common in my project, so I'm not sure where this is being referenced from or how to change it. Any ideas?

0 Kudos
Message 1 of 1