VS 2017中缺少ASP.NET Core 2模板 [英] ASP.NET Core 2 template missing in VS 2017

查看:459
本文介绍了VS 2017中缺少ASP.NET Core 2模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


  1. 我正在使用VS 2017 Community Edition。

  1. I'm using VS 2017 Community Edition.

我已经从此处安装.NET Core 2 SDK。

I've installed .NET Core 2 SDK from here.

当我运行 dotnet时,版本我得到如下回复

When I run dotnet --version I get reply like following


  1. 但是我看不到 ASP.NET Core 2模板,相反,我看到以下模板。

  1. But I can't see the ASP.NET Core 2 template, instead I see following template.

我将如何获得 ASP.NET Core 2模板,例如 https://博客.msdn.microsoft.com / webdev / 2017/08/14 / announcing-asp-net-core-2-0 /#attachment_10076

推荐答案

VS 2017的当前版本为15.3.2。尝试运行Visual Studio Installer,看看它是否不为您提供升级。

The current version of VS 2017 is 15.3.2. Try running the Visual Studio Installer and see if it doesn't offer you an upgrade.

关于窗口的屏幕截图显示该版本为15.0.0。链接到的页面指出您需要版本15.3。

The screenshot of your About-window says it's version 15.0.0. The page you link to states that you need version 15.3.


此版本具有与.NET Core 2.0的兼容性以及Visual Studio 2017中的工具支持。版本15.3

This release features compatibility with .NET Core 2.0, tooling support in Visual Studio 2017 version 15.3

这篇关于VS 2017中缺少ASP.NET Core 2模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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