Running “partially trusted” .NET assemblies from a network share

后端 未结 4 762
执念已碎
执念已碎 2021-01-11 14:37

When I try to run a .NET assembly (boo.exe) from a network share (mapped to a drive), it fails since it\'s only partially trusted:

Unhandled Exc         


        
4条回答
  •  攒了一身酷
    2021-01-11 15:19

    I resolved the problem by using caspol as instructed in Johnny Hughes' blog post Running a .Net application from a network share:

    caspol -addgroup 1.2 -url file:///H:/* FullTrust
    

    It seems the .NET Configuration GUI for managing the policies simply doesn't work.

提交回复
热议问题