Missing Scaffolding Options in ASP.NET MVC 3 Add Controller Dialog

我的梦境 提交于 2019-12-23 08:59:23

问题


I have downloaded and installed the release version of ASP.NET MVC 3 (File version: 1.13.113.0), Created a new project of type ASP.NET MVC 3 web application.

When I right click on Controllers folder=>Add Controller, The Add Controller dialog doesn't have any scaffolding option. It just contains a textbox for Controller name and a checkbox to add action methods for CRUD scenarios.

should I do anything to view the Scaffolding options (Template, Model Class, Data Context Class and View) in Add controller dialog box?


回答1:


In the Web Platform Installer 3.0 you can find something called "ASP.NET MVC 3 Tools Update" Install that one and you get the Scaffolding options and some other stuff.




回答2:


Yes agreed it takes forever to install via web platform installer. Use link http://www.microsoft.com/download/en/details.aspx?id=1491 to download and install.




回答3:


Make sure you have the lastest with the tool update.

http://www.asp.net/mvc




回答4:


ASP.NET MVC 3 Tools Update can take a while, but it fixed it for me.

If you tell Web Platform Installer to update Visual Studio it will take basically forever, I had to force shutdown and try again just doing MVC 3.

Thanks Beijer.



来源:https://stackoverflow.com/questions/5762728/missing-scaffolding-options-in-asp-net-mvc-3-add-controller-dialog

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!