Once I create a project in JetBrains Rider, it puts global.json by default and it is unable to resolve the .NET SDK version.
Why?
Microsoft.NET.Sdk.DefaultItems.targets(127, 5): [NETSDK1141] Unable to resolve the .NET SDK version as specified in the global.json located at C:\Users\user\Desktop\Nick Chapsas Elfocrash\basic-sources-master\ASPNETCoreTutorials\ResultVideo.Api\global.json.
{
"sdk": {
"version": "6.0.0",
"rollForward": "latestMinor",
"allowPrerelease": false
}
}
CodePudding user response:
You can look up the error code: https://learn.microsoft.com/en-us/dotnet/core/tools/sdk-errors/netsdk1141
You most likely don't have .NET 6.0 SDK installed.