Home All Groups Group Topic Archive Search About

The location of the file or directory xxx is not trusted

Author
20 Jun 2006 2:07 PM
paul
When running unit tests i get a return code of Abort and an error message of:

Failed to Queue Test Run xxx:
Microsoft.VisualStudio.TestTools.TestManagement.ExecutionException:
Test Run deployment issue: The location of the file or directory
'W:\assemblies\xxx' is not trusted.

I have seen other posts where the answer is using the caspol tool to set the
permission to trusted.  I tried that and it did not work.  I also tried
adding the assemblies that the test project references to the GAC and still
no luck.  After each try I closed then reopenned the VS2005 IDE.

When running the caspol -m -list statement it does show those assemblies as
being fully trusted on the computer.

The assemblies being reference by the unit tests is actually a local drive
c:\xxx mapped to a 'w' drive so that all developer machines have the same
reference path(ie w:\assemblies).

Any help would be greatly appreciated as this is causing serious issues
within our development staff.

Thanks
Paul

AddThis Social Bookmark Button