开发者

why can't I see Razor item for webforms in visual studio 2010

It is said here Can we use Razor on an existing ASP.NET 4 website? that I 开发者_Python百科should see it even in webform project if MVC3 is installed but I can't. Why?

Isn't Razor installed with MVC3?


AFAIK Visual Studio provides support only for ASP.NET Websites (using .NET 4.0 of course) and not for ASP.NET applications. This being said there is nothing preventing you from adding manually a .cshtml page to an existing ASP.NET application and it will work. It's just that you don't get the Visual Studio Wizard support but who cares about it anyway?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜