This article applies to: âï¸ .NET Core 5.0 SDK and later versions
There was a problem with the version of the SDK specified in the global.json file.
NETSDK1141: Unable to resolve the .NET SDK version as specified in the global.json located at C:\path\global.json.
CauseWhen you're working on a shared project, developers need to agree on the SDK version that will be used for the project. Without global.json, if developers on different dev machines don't have the same SDK versions, the build environment might be inconsistent across the dev team. To solve this, the SDK version can be specified in global.json and checked into source control as a common file which would be the same for all developers and ensure that the same SDK version is being used in all development environments. Therefore, to resolve this issue in a shared project, you might need to agree as a team on a particular SDK version and update all the code to use this version.
See alsoglobal.json How to check that the .NET SDK is installed
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. Additional resources In this articleWas this page helpful?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4