Target Framework not showing older .Net versions in Visual Studio 2022

Viewed 2590

I installed Visual Studio 2022 on my PC. When I select the template "ASP.NET Core Web API" and try to choose the target framework, the dropdown is showing only the current framework .NET 6.0 (Long Term Support).

Why it is not showing the older versions?

I had planned to work on a .NET 5 version.

Missing older framework versions image

1 Answers

Open Visual Studio Installer, click Modify and check if you installed older versions of .NET

Related