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

前端 未结 2 1703
佛祖请我去吃肉
佛祖请我去吃肉 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.

提交回复
热议问题