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

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

问题描述

  1. 我使用的是 VS 2017 社区版.

  1. I'm using VS 2017 Community Edition.

我已经从这里安装了 .NET Core 2 SDK.

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

当我运行 dotnet --version 时,我得到如下回复

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://blogs.msdn.microsoft.com/webdev/2017/08/14/annoucing-asp-net-core-2-0/#attachment_10076

How will I get ASP.NET Core 2 template like this https://blogs.msdn.microsoft.com/webdev/2017/08/14/announcing-asp-net-core-2-0/#attachment_10076

推荐答案

VS 2017 当前版本为 15.3.2.尝试运行 Visual Studio 安装程序,看看它是否不会为您提供升级.

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天全站免登陆