Loading this assembly would produce a different grant set from other instances

前端 未结 2 1704
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-02 09:56

I am getting following error at run-time \"Loading this assembly would produce a different grant set from other instances\" when calling a vb.net 1.1 assembly from a ASP.net

相关标签:
2条回答
  • 2021-01-02 10:56

    I had this error when I installed .NET 4.5.1.

    I fixed it by deleting the .suo files in my solution folder (you may have to show hidden files to see them).

    Next time I started it up everything was back to normal.

    0 讨论(0)
  • 2021-01-02 10:56

    I've been searching for weeks now and found the culprit.

    In my case it was a new code signing certificate in the solution with the old one in my local certificate store.

    When i installed the new certificate the error disappeared.

    0 讨论(0)
提交回复
热议问题