Version number in script in Manual Setup section doesn't work
- Dominant language
- No language data
- Stars
- 4.8k
- Forks
- 6.1k
- Avg merge
- 15h 21m
- Merged PRs (30d)
- 370
Description
Running the script in Manual Setup results in a series of 404 errors, e.g.:
Uri: https://dotnetcli.azureedge.net/dotnet/Sdk/6.0.7/dotnet-sdk-6.0.7-win-x64.zip
StatusCode: 404
Error: Unable to download https://dotnetcli.azureedge.net/dotnet/Sdk/6.0.7/dotnet-sdk-6.0.7-win-x64.zip. Returned HTTP status code: 404 Downloading from "legacy" link has failed with error:
Uri: https://dotnetcli.azureedge.net/dotnet/Sdk/6.0.7/dotnet-dev-win-x64.6.0.7.zip
StatusCode: 404
Error: Unable to download https://dotnetcli.azureedge.net/dotnet/Sdk/6.0.7/dotnet-dev-win-x64.6.0.7.zip. Returned HTTP status code: 404 Downloading from "primary" link has failed with error:
Uri: https://dotnetbuilds.azureedge.net/public/Sdk/6.0.7/dotnet-sdk-6.0.7-win-x64.zip
StatusCode: 404
Error: Unable to download https://dotnetbuilds.azureedge.net/public/Sdk/6.0.7/dotnet-sdk-6.0.7-win-x64.zip. Returned HTTP status code: 404 Downloading from "legacy" link has failed with error:
Uri: https://dotnetbuilds.azureedge.net/public/Sdk/6.0.7/dotnet-dev-win-x64.6.0.7.zip
StatusCode: 404
It appears that the version number is for the SDK, which is different from the .NET runtime (7.0.302 vs 7.0.5 respectively), article should specify this distinction and where to find version numbers for SDKs. As this article indicates (https://learn.microsoft.com/en-us/dotnet/core/versions/) major and minor versions match, but patch versions (still required by the script) do not. The patch numbers for SDK should always be 3 digits (includes minor version * 100), indicating that the version used in the script points to runtime, which is incorrect.
---
#### Document Details
⚠ *Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.*
* ID: d211f93f-e07c-eed7-e7fb-56c5254e7ba2
* Version Independent ID: 2486a658-b684-d78b-b8a5-88e9b7c48adb
* Content: [Use the .NET SDK in Continuous Integration (CI) environments](https://learn.microsoft.com/en-us/dotnet/devops/dotnet-cli-and-continuous-integration?tabs=powershell)
* Content Source: [docs/devops/dotnet-cli-and-continuous-integration.md](https://github.com/dotnet/docs/blob/main/docs/devops/dotnet-cli-and-continuous-integration.md)
* Product: **dotnet**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**
Contributor guide
Assessment
This issue has not been assessed yet.