ASP 缺少 .NET 5 模板

ASP .NET 5 templates missing

我使用的是 Visual Studio 2015 社区版。但是,我所有的 ASP .Net 5 模板突然都不见了。任何帮助将不胜感激

几周前发布了 ASP.NET5 的新版本。它现在称为 ASP.NET Core,目前的版本为 RC2。所以它不再使用 ASP.NET 5 个模板。在 Web 模板下,您应该有三个选择:

ASP.NET Web 应用程序 (.NET Framework) - 用于创建经典的 Web 应用程序。

ASP.NET 核心 Web 应用程序 (.NET Core) - 用于创建预发布 ASP.NET 跨平台兼容的核心应用程序。

ASP.NET 核心 Web 应用程序 (.NET Framework) - 用于创建预发布 ASP.NET 依赖于 .NET Framework 的核心应用程序。

我先后安装了 Visual Studio Update 2 和 ASP.NET Core RC2。所以我不确定是哪一个更改了 Web 模板。但似乎更新 2 做到了,因为你的 ASP.NET 5 个模板不见了,我假设你还没有安装 ASP.NET Core RC2。

我建议按照安装指南升级到 ASP.NET Core RC2 here. The ASP.NET 5 templates are gone for good. And there have been big changes with the latest release. Read about these changes here and here