global.json: tools.dotnet and sdk.version are redundant
See original GitHub issueIf you don’t specify tools.dotnet
in your global.json, you get this error:
/global.json must specify 'tools.dotnet'.
This seems redundant given that the sdk.version property already contains this information. Can we just use sdk.version since it’s what VS and the CLI already use?
{
"tools": {
"dotnet": "3.0.100-preview-009750"
},
"sdk": {
"version": "3.0.100-preview-009750"
}
Issue Analytics
- State:
- Created 5 years ago
- Comments:15 (15 by maintainers)
Top Results From Across the Web
NETSDK1141: Unable to resolve the .NET SDK version as ...
Learn about .NET SDK error NETSDK1141, which occurs when the SDK version could not be resolved in global.json.
Read more >How to avoid global.json version conflicts in Azure DevOps
NET tool, running dotnet tool install MyBuildTool will fail. ... NET SDK version set in the global.json, you need to either always keep...
Read more >Add path to global.json SDK version lock · Issue #8254
json selects the full .NET Core SDK (CLI) used, not just the msbuild SDKs. We don't even have a resolver when we're invoked...
Read more >Unable to locate the .NET SDK as specified by global.json ...
In my case my global.json was referring to an SDK I didn't have. Run the below in your terminal dotnet --list-sdks.
Read more >Managing your .NET Core SDK versions with the .NET Install ...
The global tool will check the contents of the global.json file and download then start the installation of the defined version of the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It is indeed supported. There is nothing in Arcade blocking you from using it.
The pinning will be addressed by https://github.com/dotnet/designs-microsoft/pull/44. Once implemented this will allow us to remove Arcade’s
tools.dotnet
and usesdk.version
.