Visual Studio Unit Tests : dll is not trusted
Posted
by Ian
on Stack Overflow
See other posts from Stack Overflow
or by Ian
Published on 2010-02-15T09:41:18Z
Indexed on
2010/03/13
18:35 UTC
Read the original article
Hit count: 321
visual-studio-2008
|windows7
I'm struggling getting some unit tests running and wondering if anyone might have anything insightful.
The setup is that we've got a bunch of referenced DLL's on a server and when I try and execute I get the old
Test Run deployment issue: The location of the file or directory 'c:\source\ProjectName\bin\debug\3rdPartyLibrary.dll' is not trusted.
I've tried the old caspol command:
caspol -m -ag 1.2 -url file:\server\binaries* FullTrust
Which seems to work for everything bar one DLL. I'm currently having to manually change the permissions everytime I do a build of the test project, which is a pain. Anyone have any suggestions? Running a Win7 64bit OS btw.
© Stack Overflow or respective owner