Pau*_*aul 4 razor asp.net-mvc-3
我将MVC 2.0站点迁移到MVC 3.0,使用它:迁移MVC 2.0 - > 3.0
使用ASPX作为View Engine现在效果很好......
但是我试图创建一个Razor视图并得到了这个错误:
The view 'TestView' or its master was not found. The following locations were searched:
~/TestView.aspx
~/TestView.ascx
~/Views/Color/TestView.aspx
~/Views/Color/TestView.ascx
~/Views/Shared/TestView.aspx
~/Views/Shared/TestView.ascx
Run Code Online (Sandbox Code Playgroud)
我怎样才能启用剃刀呢?
我正在使用Visual Studio 2010 ...创建一个全新的MVC 3 Web应用程序使Razor变得更好!
谢谢