ASP.NET Core 2 template missing in VS 2017

2019-06-25 14:46发布

问题:

  1. I'm using VS 2017 Community Edition.

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

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

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

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

回答1:

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.

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.

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