MOQ and the Test Run deployment issue The location of the file or directory problem

· March 19, 2009

The NerdDinner example uses the MOQ-framework for mocking some authentication mechanism.

This framework is new to me and when I downloaded it (one dll – great stuff!) I immediately ran into the “Test Run deployment issue: The location of the file or directory” – exception.

Here is a great article explaining how to solve it. I needed to restart Visual Studio to get it to “take” – but then it worked great.

Twitter, Facebook