I have an application that references a Microsoft DLL (Exchange Web Services). In my unit testing, I want to replace the Microsoft DLL with a Mock.
What works with other DLLs, doesnt work with this DLL, as i get an exception
The located assembly's manifest definition does not match the assembly reference
I verified it has the same assembly version, but i saw that the Microsoft DLL is signed digitally, so it has a PublicKeyToken. Could this be what my Application is looking for? A similarly signed DLL?
Is there a way of referencing a DLL without requiring its publickeytoken?
Thanks