Visual Studio 2019 + .Net version reached EOL

Brijendra Gautam 66 Reputation points
2022-12-14T15:47:48.383+00:00

VS 2019 version 16.11.18 has a support end date in 2029, but as of today (13/12/2022) .Net 3.1 support ended. Now VS 2019 doesn't have supported .Net version.
Is there anyway to use .Net 6 or .Net 7 with VS 2019?
Or it's just available for .Net framework only.

I've already tried to change the Use previews of the .NET Core SDK but not able to see any other version.

Developer technologies | Visual Studio | Other
0 comments No comments
{count} votes

Accepted answer
  1. Tianyu Sun-MSFT 34,456 Reputation points Microsoft External Staff
    2022-12-15T04:00:12.443+00:00

    Hello @Brijendra Gautam ,

    Welcome to Microsoft Q&A forum.

    I’m afraid, as VS 2019 doesn’t support .NET 6 and .NET 7, it’s not possible to create .NET 6/.NET 7 based projects in VS 2019(see this document: Visual Studio 2019 Support for .NET Development). You need to use VS 2022 for full .NET 6/.NET 7 support.

    The "Use previews of the .NET SDK" option doesn’t work in this situation.

    Some related blog and thread:

    Support

    Visual Studio 2019 support .NET 6

    Projects based on earlier versions of .NET Core may still be able to be created in VS 2019. But as earlier versions of .NET Core reached EOL, it is recommended to use VS 2022 and higher version of .NET.

    Best Regards,
    Tianyu

    • 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.
    0 comments No comments

0 additional answers

Sort by: Most helpful

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.