2

I just installed the .NET to my machine. Yet, Visual Studio 2022 doesn't list the new SDK in its list of target frameworks:

Obsolete target frameworks listed

In Visual Studio Installer there is no ".NET 7 Target Framework" option to check.

How can I get Visual Studio 2022 to list the new SDK?

Guru Stron
  • 102,774
  • 10
  • 95
  • 132
AxD
  • 2,714
  • 3
  • 31
  • 53

1 Answers1

2

Update Visual Studio to the latest version. As stated in the .NET 7 release notes:

You need Visual Studio 17.4 or later to use .NET 7.0 on Windows.

Also be sure that correct workloads are installed.

For preview .NET versions I recommend to use preview VS versions too.

Guru Stron
  • 102,774
  • 10
  • 95
  • 132