Missing Scaffolding Options in ASP.NET MVC 3 Add C

2019-06-17 03:59发布

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?

4条回答
太酷不给撩
2楼-- · 2019-06-17 04:18

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楼-- · 2019-06-17 04:24

Make sure you have the lastest with the tool update.

http://www.asp.net/mvc

查看更多
Bombasti
4楼-- · 2019-06-17 04:28

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.

查看更多
迷人小祖宗
5楼-- · 2019-06-17 04:36

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.

查看更多
登录 后发表回答