Reputation: 592
I was messing around with RhinoMocks this morning and couldn't run my tests because RhinoMocks.dll was not in a "trusted location". The assembly is in my c:\documents and settings\\My Documents\Visual Studio 2008\Projects (and so on) folder. What's the deal?
Upvotes: 0
Views: 1432
Reputation:
Right click the file or location and choose Properties. At the very bottom, you should see the button "Unblock". Click it and press OK.
Upvotes: 0
Reputation: 592
From my reading, there are a number of things that can cause this. The fix for my particular situation, however, was to "unblock" the DLL file. Because I had downloaded the zip from the Internet, XP had put a block on the file. Right-clicking the file and clicking "Unblock" did the trick.
Upvotes: 1
Reputation: 18305
Did you download a zip file from the internet and then extract it using the standard explorer tools. I think this marks the directory as untrusted and Visual studio detects this.
Upvotes: 1