select different version of dotnet installed sdk code example
Example: how to change dotnet version
dotnet new globaljson --sdk-version [Type version number here] --force
version number examples:
- 2.1.509
- 3.0.100-preview-010184
dotnet new globaljson --sdk-version [Type version number here] --force
version number examples:
- 2.1.509
- 3.0.100-preview-010184