2
votes

I'm starting with DotNet Core, and when I create my first project by choosing the option "ASP.NET Core Web Application (.NET Core)" in the next screen I only see the versions below

  • ASP.NET Core 1.0
  • ASP.NET Core 1.1

However I have already installed the SDK (dotnet-sdk-2.1.402-win-x64), but this version 2.1 does not appear for me to choose, follow the image for better visualization.

enter image description here

Entering the prompt the version is apparently installed.

enter image description here

1
What version of Visual Studio are you using? Visual Studio 2017 (15.8) is supposed to have .NET Core 2.1.4 out of the box. github.com/dotnet/sdk/issues/2323#issuecomment-396665345Dillon Adams
Please make sure you use Visual Studio 2017 Update 3 or higher Help -> About Microsoft Visual StudioSampath

1 Answers

3
votes

Make sure you have the latest version of Visual Studio 2017 and all the updates.

Version 1.0, 1.1 and 2.1 are very different, I would recommend not even using 1.0 and 1.1 and try and setup for 2.1.