global.json

global.json and the .NET CLI 1
MSBuild throws error: the SDK “Microsoft.NET.Sdk” specified could not be found 20

dotnet new globaljson --sdk-version 6.0.401
"sdk": { "version": "6.0.100", "rollForward": "latestPatch" }

Run dotnet --list-sdks in a shell to check installed versions
warning: Unable to locate the .NET SDK version ‘6.0.100’ as specified by global.json, please check that the specified version is installed.
error NETSDK1141: Unable to resolve the .NET SDK version as specified in the global.json.

< «