You just download the sdk
https://dotnet.microsoft.com/download/dotnet/5.0
You can see which sdk are installed with
dotnet —list-sdks
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I would like to add .net 5.0 as well along with the current framework. Is there a chance ?
You just download the sdk
https://dotnet.microsoft.com/download/dotnet/5.0
You can see which sdk are installed with
dotnet —list-sdks
If you have not, download older Frameworks like .NET Core 5. Then you should have .NET Framework as an option. If .NET Core 5 does not show up but is installed use the following for the .csproj file for instance for a class project.
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<LangVersion>9.0</LangVersion>
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>
</Project>
Note I have tried this as I don't have VS2022 but have been using .NET Core 6 in VS2019 and figured the reverse would work in VS2022