Visual Studio Unit Tests : dll is not trusted
- by Ian
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.