Web Server Run: Operation could destabilize the runtime #1569
|
Hello, I'm trying to run the library on a Web server, but the error Operation could destabilize the runtime is occurring.
But would that cause this error? Attached print of the error stack. |
Answered by
antonfirsov
Mar 4, 2021
Replies: 1 comment 11 replies
|
It looks like .NET Framework's CAS considers a particular operation in our code unreliable, and refuses to JIT our code. There is nothing we can do about this, I suggest to relax your CAS settings. (Not an expert on that field, but hopefully there is a way to scope it to your resizer code.) |
11 replies
Answer selected by
JimBobSquarePants
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



It looks like .NET Framework's CAS considers a particular operation in our code unreliable, and refuses to JIT our code. There is nothing we can do about this, I suggest to relax your CAS settings. (Not an expert on that field, but hopefully there is a way to scope it to your resizer code.)