Run .NET code from network drive

By Perry

By default, .NET doesn’t trust code on network drives. The Visual Studio will warn that “The Project Location is Not Trusted” when you open a project from a network drive.

To get rid of this, just run below command.

caspol -q -machine -addgroup 1.2 -url file://N:/* FullTrust

By this command, you are allowing opening and running code from network drive N:.

Run .NET code from network drive  (775 Views)