开发者

'SampleApp.MvcApplication' is not allowed here because it does not extend class 'Microsoft.WebPages.WebPageHttpApplication'

开发者 https://www.devze.com 2023-01-14 05:10 出处:网络
I have created a sample project using ASP.NET MVC 3 Web Application (Razor) template. When I run my application I get this error

I have created a sample project using ASP.NET MVC 3 Web Application (Razor) template. When I run my application I get this error

 'SampleApp.MvcApplication' is not allowed here because it does not extend class 'Microsoft.WebPages.WebPageHttpApplic开发者_如何学编程ation'

Where should i look for the problem?


It looks to me like you have both MVC 3 Preview 1 and WebMatrix Beta installed. Unfortunately those 2 don't play nicely together. If that is not the case let me know and we can troubleshoot further.

0

精彩评论

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