vs2019 How to install new dotnet version
Download the SDK from https://dotnet.microsoft.com/download/dotnet/
Install the version
You might need to enable preview in (Tool > Options > Preview Features)
And then select the respective framework
If it doesn't show up try repairing vs using the installer