缺少"ASP.NET Core Web应用程序(.NET Core)"模板

问题描述:

我正在尝试开发ASP.NET Core应用程序.我尝试按照文档进行操作(例如,.

I am trying to develop a ASP.NET Core application. I tried following the documentation (for example .

我正在使用Microsoft Visual Studio Enterprise 2015版本14.0.25431.01更新3,并安装了Microsoft .NET Core 1.0.1 VS 2015 Tooling Preview 2(我也已修复并重新安装它,但未成功).

I am using Microsoft Visual Studio Enterprise 2015 Version 14.0.25431.01 Update 3, and installed the Microsoft .NET Core 1.0.1 VS 2015 Tooling Preview 2 (I have also repaired and reinstalled it, without success).

确保已安装Microsoft Web Development Tools,您可以在Visual Studio安装程序的Windows and Web Development

Ensure you have the Microsoft Web Development Tools installed which you can find in the Visual Studio installer under Windows and Web Development

安装后,启动Visual Studio并再次检查模板,您应该会看到ASP.NET Core模板.

Once installed, start up Visual Studio and check your templates again and you should see the ASP.NET Core templates.

更新

根据以下评论,

对于已经安装了Visual Studio 2015+但在初始安装过程中未添加功能的用户,您必须下载主Visual Studio安装程序并修改其功能

For those who already had visual studio 2015+ installed but didn't add the feature during the inital installation, you have to download the main visual studio installer and modify its features