MSTest Not Executed Error

I'm testing out a new IoC container framework (more on that later), and so I decided to setup some tests to see how it works. As a "newbie" to MSTest (MbUnit / xUnit rules!), I wrote my tests, tried to run them and was presented with an error message:
Failed to queue test run 'Hadi Hariri 2008-07-08 10:06:31': Test Run deployment issue: The location of the file or directory 'd:\…..\someAssembly.dll' is not trusted.
Now D is my local drive, so go figure why suddenly an assembly I reference on my local disk is not trusted. Wel lit turns out that Vista, in all it's glory (I have a love-hate relationship with Vista, I love hating it all the time), decided to block this assembly and all other files I extracted from a zip file I downloaded.
So if it happens to you, go to the assembly and unblock it. And of course, this is not something you can do by selecting multiple files at once. No, that would be WAY too dangerous! You need to do it one by one. Alternatively, delete the whole folder, unblock the zip file and then extract it.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s