缺少“ASP.NET Core Web 应用程序 (.NET Core)"模板 [英] missing “ASP.NET Core Web Application (.NET Core)” template

查看:43
本文介绍了缺少“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 Version 14.0.25431.01 Update 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,您可以在 Windows 和 Web Development 下的 Visual Studio 安装程序中找到该工具

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

这篇关于缺少“ASP.NET Core Web 应用程序 (.NET Core)"模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆