Closed
Description
https://dotnet.microsoft.com/download/dotnet-core/scripts/v1/dotnet-install.sh when run as bash ./dotnet-install.sh --jsonfile ./global.json
grabs everything in sdk
after version
instead of only grabbing the sdk.version
value.
Example of global.json
:
{
"sdk": {
"version": "3.1",
"allowPrerelease": false,
"rollForward": "latestPatch"
}
}
error:
dotnet-install: Downloading link: https://dotnetcli.azureedge.net/dotnet/Sdk/3.1allowPrerelease:falserollForward:latestPatch/dotnet-sdk-3.1allowPrerelease:falserollForward:latestPatch-linux-x64.tar.gz
curl: (22) The requested URL returned error: 404 Not Found
dotnet-install: Cannot download: https://dotnetcli.azureedge.net/dotnet/Sdk/3.1allowPrerelease:falserollForward:latestPatch/dotnet-sdk-3.1allowPrerelease:falserollForward:latestPatch-linux-x64.tar.gz
dotnet-install: Downloading legacy link: https://dotnetcli.azureedge.net/dotnet/Sdk/3.1allowPrerelease:falserollForward:latestPatch/dotnet-dev-centos-x64.3.1allowPrerelease:falserollForward:latestPatch.tar.gz
curl: (22) The requested URL returned error: 404 Not Found
dotnet-install: Cannot download: https://dotnetcli.azureedge.net/dotnet/Sdk/3.1allowPrerelease:falserollForward:latestPatch/dotnet-dev-centos-x64.3.1allowPrerelease:falserollForward:latestPatch.tar.gz
dotnet_install: Error: Could not find/download: `.NET Core SDK` with version = 3.1allowPrerelease:falserollForward:latestPatch
dotnet_install: Error: Refer to: https://aka.ms/dotnet-os-lifecycle for information on .NET Core support
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: a2e484a9-5e0c-eb3e-1413-7b507c4fa07d
- Version Independent ID: 5bc7caa5-f1c2-d7d5-fe02-80c65cca9672
- Content: dotnet-install scripts - .NET Core CLI
- Content Source: docs/core/tools/dotnet-install-script.md
- Product: dotnet-core
- Technology: dotnet-cli
- GitHub Login: @tdykstra
- Microsoft Alias: tdykstra
Metadata
Metadata
Assignees
Labels
No labels