Last post Dec 14, 2020 12:00 PM by mgebhard
Dec 14, 2020 05:53 AM|jagjit saini|LINK
I have Visual Studio 2017 Professional . Asp.Net Core 1.1 . I have installed .net core 3.1 . When creating project in dropdown it is showing only 1.0 & 1.1.
Currently it is showing only Empty , Web Api , Web Application.
Dec 14, 2020 09:17 AM|PatriceSc|LINK
See https://dotnet.microsoft.com/download/dotnet-core/3.1 ie .NET 3.1 requires Visual Studio 2019.
Dec 14, 2020 09:41 AM|yogyogi|LINK
You should see Web API related tutoiral in asp.net core -
Create Web API in ASP.NET Core
Dec 14, 2020 09:50 AM|jagjit saini|LINK
I have VS 2017 Professional . If not 3.1 atleast can't it be upgraded to 2.2 version
I have installed .net core Sdk 2.2.207 but still in Visual Studio it is not showing .
Dec 14, 2020 10:25 AM|PatriceSc|LINK
You can start from
https://dotnet.microsoft.com/download/dotnet-core then. According to
https://dotnet.microsoft.com/download/dotnet-core/2.1 using .NET 2.1 with
Visual Studio 2017 (v15.9) should work. Make sure what is your exact VS 2017 version.
Note also that 2.2 is out of support. In short "Long Term Support (LTS)" versions are supported until the next LTS versions plus one year. "Current" versions are supported until the next version plus 3 months and should likely be used if you absolutely
need one of their brand new feature.
Dec 14, 2020 11:12 AM|jagjit saini|LINK
Installed 2.1 but still not showing in Visual Studio
Dec 14, 2020 11:43 AM|PatriceSc|LINK
And you checked your VS 2017 version? I'm using VS 2019 but kept VS 2017 and I see ASP.NET Core 2.1.
Not sure what you installed but I would just launch "Visual Studio Installer" to upgrade VS 2017 to the latest version. AFAIK it should just include .NET Core 2.1 as part of the "Web Development" workload.
Dec 14, 2020 12:00 PM|mgebhard|LINK
The recommendation is installing VS 2019 to get the latest tools.
If you are unable to install Vs 2019 due to company policy, then you are stuck with ASP.NET Core 2.2 or lower. Keep in mind, 2.1 is LTS.
You have to take the time to read the SDK release notes to make sure you download the correct version. you also need to make sure VS 2017 is up to date.