Failed to run single MVC3 tests. System.Security.VerificationException

I came across strange behavior of MVC3 RC.

I am building a standard web application with unit tests, and all unit tests have failed on my computer. All tests have an error "System.Security.VerificationException: Operation could destabilize the runtime.". An error occurs when creating the controller. After that, I launched Windows XP mode on my computer and repeated the same steps. All tests were successful. My computer is running Windows 7 Ultimate x64.

What is the reason for this?

+3
source share
1 answer

? .., , , TypeMock.

0

Source: https://habr.com/ru/post/1777461/


All Articles