发生此异常,需要给程序集的Assembly.cs中加上一个属性:

Exception: That assembly does not allow partially trusted callers.[assembly:AllowPartiallyTrustedCallers]

这样,可解决这个异常问题!

相关文章:

  • 2021-09-19
  • 2021-09-18
  • 2021-12-14
  • 2022-01-22
  • 2021-07-21
猜你喜欢
  • 2021-07-23
  • 2022-12-23
  • 2021-07-23
  • 2022-12-23
  • 2021-11-07
  • 2021-12-23
  • 2022-12-23
相关资源
相似解决方案