Why does my .net application require full trust?

后端 未结 7 1031
有刺的猬
有刺的猬 2020-12-31 08:58

I\'ve developed a .net 3.0 application, which is deployed using clickonce.

I\'d like to move from full trust to partial trust to ease deployment.

I\'ve tried

7条回答
  •  孤独总比滥情好
    2020-12-31 09:27

    The exception message is telling you why you can't run with partial trust:

    System.Security.Permissions.SecurityAction.LinkDemand
    

    If you copy and paste that into Google, you will find several relevant articles on MSDN that might help you to discover why your application requires full trust.

提交回复
热议问题