开发者

View Engine dropdown not present while adding view

开发者 https://www.devze.com 2023-03-06 16:31 出处:网络
I am creating MVC music store application by reading the PDF, in that on page 22 there is a method shown to add view but when I right clicked on it I am getting the below scr开发者_如何学Ceen:

I am creating MVC music store application by reading the PDF, in that on page 22 there is a method shown to add view but when I right clicked on it I am getting the below scr开发者_如何学Ceen:

[Why I am not getting the View Engine Drop Down?]

View Engine dropdown not present while adding view


Razor doesn't work in ASP.NET MVC 2 that's why you are not provided with this choice. You could use Visual Studio 2010 with ASP.NET MVC 3 installed. Only in ASP.NET MVC 3 projects you are provided with this choice.


This is for MVC 3 only. It seems you are using MVC 2.


Install Visual Web Developer Express 2010 as per section:

  1. File -> New Project

Installing the software

This will give you the IDE used in this tutorial and allow you to view the ASP.Net MVC3 tooling options such as presented in the dialogue box.

0

精彩评论

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