阅读背景:

ASP.NET MVC3升级 - “尝试按方法[无论如何]访问方法System.Web.Mvc.Controller.View(...)失败”

来源:互联网 

I have a unit test that worked fine in MVC2. The test simply defines the Action on the controller, the necessary stubs, and tests the name of the view. However, after upgrading to MVC3, when I invoke the method, I get the error above. The site MVC3 upgrade works just fine; I just have these unit tests failing due to the upgrade. Thanks.I have a unit test that worked fine in MVC2. Th




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: