开发者

MVC3 unit tests failed System.Security.VerificationException

I faced with strange behavior of MVC3 RC.

I create default Internet application with unit tests and all unit tests were failed on my computer. All tests have error "System.Security.VerificationException: Operation could destabili开发者_JAVA百科ze the runtime.". The error raises on controller creation action. After that I run Windows XP Mode on my computer and repeated the same actions. All tests were successful. My computer runs Windows 7 Ultimate x64.

What is the cause of it?


Have you touched the project at all? Check the references etc., some people have reported this issue and it turned out to be 3rd party libraries like TypeMock.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜