title: Mocking a Microsoft DLL
body: <p>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.</p>
  
  <p>What works with other DLLs, doesnt work with this DLL, as i get an exception</p>
  
  <blockquote>
    <p>The located assembly's manifest definition does not match the assembly reference</p>
  </blockquote>
  
  <p>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?</p>
  
  <p>Is there a way of referencing a DLL without requiring its publickeytoken?</p>
  
  <p>Thanks</p>