asp.net-mvc 无法在新安装的 VS 2017 社区中找到 MVC 选项

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/47756960/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-07 23:37:52  来源:igfitidea点击:

Not able to find MVC option in new installed VS 2017 community

asp.net-mvcvisual-studio-2017

提问by Lijin Durairaj

I have installed vs 2017 community edition, now that i want to create a new MVC application, when i click on file->new->project, there is no web option where i can select a MVC application.

我已经安装了 vs 2017 社区版,现在我想创建一个新的 MVC 应用程序,当我点击文件->新建->项目时,没有我可以选择 MVC 应用程序的 web 选项。

enter image description heredid i miss something while installing vs community 2017? if yes then what changes can i make to see the mvc option

在此处输入图片说明我在安装 vs community 2017 时错过了什么吗?如果是,那么我可以进行哪些更改以查看 mvc 选项

回答by timothyclifford

You will need to update your VS 2017 installation as described:

您需要按照说明更新 VS 2017 安装:

https://docs.microsoft.com/en-us/visualstudio/install/modify-visual-studio

https://docs.microsoft.com/en-us/visualstudio/install/modify-visual-studio

Ensure the ASP.NET and web developmentoption is selected and then update.

确保ASP.NET and web development选择了该选项,然后更新。

回答by Afazal

Please follow the below steps to open MVC project in visual studio 2017:

Step 1:Select the project as per below picture: enter image description here

请按照以下步骤在 Visual Studio 2017 中打开 MVC 项目:

第 1 步:如下图所示选择项目: 在此处输入图片说明

Step 2:select the MVC project

第二步:选择MVC项目

enter image description here

在此处输入图片说明

回答by Shakti Srivastav

  • Open installer in administrator mode
  • Select Modifyoption under workloads in web & cloud
  • Select ASP.NET and web developmentoption
  • Look at right side of same window. There are selection options, please choose what you want to install then pick Install while downloadingfrom drop down or download all then install
  • Click the modify button.
  • 以管理员模式打开安装程序
  • Modify在工作负载下选择选项web & cloud
  • 选择ASP.NET and web development选项
  • 查看同一窗口的右侧。有选择选项,请选择您要安装的内容,然后Install while downloading从下拉菜单中选择或download all then install
  • 单击修改按钮。

回答by tyne

On my case, I used the ASP.NET Web Application(.Net Framework) unde Visual Basic

就我而言,我使用了 Visual Basic 下的 ASP.NET Web Application(.Net Framework)

enter image description here

在此处输入图片说明