Home > OS >  .NET 7 framework does not show up in Visual Studio 2022 version 17.4
.NET 7 framework does not show up in Visual Studio 2022 version 17.4

Time:12-28

After a long absence of C# I re-installed Visual Studio Community Version 2022 17.4.3.

Then I installed dotnet-sdk-7.0.101-win-x64.

Then I try to start a new console .NET application but I don't have the option to chose the .NET 7 framework. It goes only to up to to 4.8. Is that normal? What should I do to make version 7 visible?

Shows my framework options

CodePudding user response:

When creating an application be sure to select correct template - Console App (without additional remarks):

enter image description here

You have selected a template targeting .NET Framework which does not allow targeting .NET (i.e. .NET Core) runtime by default.

  • Related