What to do now that Core 3.1 is not supported?

Coreysan 1,811 Reputation points
2023-01-05T01:06:33.117+00:00

I just noticed that Core 3.1 is no longer supported.
At work, I'm confined to .Net Framework 4.7.2, and VS 2019.

Is there something I can upgrade to that is supported, or just stay with 3.1
until the company upgrades the framework?

Developer technologies | ASP.NET | ASP.NET Core
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Rijwan Ansari 766 Reputation points MVP
    2023-01-11T14:18:02.5833333+00:00

    Hi,

    If you are considering to migrate then better to go .NET 6. You can follow the office migration guide.

    Migrate from ASP.NET Core 3.1 to 6.0

    1 person found this answer helpful.
    0 comments No comments

  2. Bruce (SqlWork.com) 78,236 Reputation points Volunteer Moderator
    2023-01-05T01:32:05.29+00:00

    Vs 2019 does not support .net 6 (the currents LTS version).

    You can use vs code or vs 2022 community instead. If this is not allowed, then you need to drop back to 4.* framework.

    If you drop back, you can use netstandard 2.0 for the library projects, but you will be limited to c# 7

    0 comments No comments

  3. Anonymous
    2023-01-05T07:43:50.827+00:00

    Hi @Coreysan ,

    .NET 6 is supported with Visual Studio 2022 and Visual Studio 2022 for Mac. It is not supported with Visual Studio 2019, Visual Studio for Mac 8, or MSBuild 16. If you want to use .NET 6, you will need to upgrade to Visual Studio 2022 (which is also now 64-bit). Refer to this article.

    If you can't install the VS 2022, you can stay with 3.1. After the company upgrades the VS 2022, refer to the Asp.net core Migration document to migrate the application from 3.1 to 5.0 and then migrate to 6.0.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best regards,
    Dillion

    0 comments No comments

  4. satya karki 996 Reputation points MVP
    2023-01-13T04:11:38.8233333+00:00

    I guess, soon your company needs to take a decision to upgrade to Visual Studio 2022 and upgrade the solution to .NET 6 as well.

    If you need a migration guide from .NET Core 3.1 to .NET 6, you can follow the below article and the official guide.

    [https://www.c-sharpcorner.com/article/how-to-migrate-from-net-core-3-1-to-net-6-0/

    [https://docs.microsoft.com/en-us/aspnet/core/migration/31-to-60?view=aspnetcore-6.0&tabs=visual-studio

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.