locked
.net Core Application RRS feed

  • Question

  • User1979860870 posted

    Hi

      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.

    Thanks

    Monday, December 14, 2020 5:53 AM

All replies

  • User753101303 posted

    Hi,

    See https://dotnet.microsoft.com/download/dotnet-core/3.1 ie .NET 3.1 requires Visual Studio 2019.

    Monday, December 14, 2020 9:17 AM
  • User-2054057000 posted

    You should see Web API related tutoiral in asp.net core - Create Web API in ASP.NET Core

    Monday, December 14, 2020 9:41 AM
  • User1979860870 posted

    Hi PatriceSc

       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 .

    Thanks

    Monday, December 14, 2020 9:50 AM
  • User753101303 posted

    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.

    Monday, December 14, 2020 10:25 AM
  • User1979860870 posted

    hi

       Installed 2.1 but still not showing in Visual Studio

    Thanks

    Monday, December 14, 2020 11:12 AM
  • User753101303 posted

    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.

    Monday, December 14, 2020 11:43 AM
  • User475983607 posted

    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.

    https://github.com/dotnet/core/blob/master/release-notes/2.1/2.1.23/2.1.23.md

    https://github.com/dotnet/core/blob/master/release-notes/2.2/2.2.8/2.2.8.md

    Monday, December 14, 2020 12:00 PM