dotnet / dotnet/vscode-dotnet-runtime

Failed to download .NET 8.0 in Macbook Pro Max M1

Open
#2,154 6 comments 2 reactions 0 assignees View on GitHub
untriaged
Dominant language
TypeScript
Stars
209
Forks
455
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug.

Error messages pops out when loading the vscode saying "An error occured while installing .NET(8.0)". Dismissing it keeps a message on bottom left in red saying "Error acquiring .NET!".

![Image](https://github.com/user-attachments/assets/7db8ccba-48b2-4b96-97db-ce368e1a2649)

![Image](https://github.com/user-attachments/assets/aac51d6b-47d0-45d2-8234-c3fe5e1a3b0f)

### Please attach log file(s) here if you have any.

Error : (WebRequestError)
Failed to download .NET 8.0~arm64~aspnetcore:
Web Request to https://builds.dotnet.microsoft.com/dotnet/release-metadata/releases-index.json Failed: Cannot read properties of undefined (reading 'startTime'). Aborting. Stack: TypeError: Cannot read properties of undefined (reading 'startTime')
at /Users/mk/.vscode/extensions/vscode-dotnet-runtime-library/dist/Utils/WebRequestWorker.js:74:40
at on.request (/Users/mk/.vscode/extensions/vscode-dotnet-runtime-library/node_modules/axios/dist/node/axios.cjs:4247:7)
at on.request (/Users/mk/.vscode/extensions/vscode-dotnet-runtime-library/node_modules/axios/dist/node/axios.cjs:4252:41)

Error : (DotnetCommandFailed)
Failed to download .NET 8.0~arm64~aspnetcore:
Web Request to https://builds.dotnet.microsoft.com/dotnet/release-metadata/releases-index.json Failed: Cannot read properties of undefined (reading 'startTime'). Aborting. Stack: TypeError: Cannot read properties of undefined (reading 'startTime')
at /Users/mk/.vscode/extensions/vscode-dotnet-runtime-library/dist/Utils/WebRequestWorker.js:74:40
at on.request (/Users/mk/.vscode/extensions/vscode-dotnet-runtime-library/node_modules/axios/dist/node/axios.cjs:4247:7)
at on.request (/Users/mk/.vscode/extensions/vscode-dotnet-runtime-library/node_modules/axios/dist/node/axios.cjs:4252:41)

### Reproduction Steps

Command+Shift+P
Enter "Developer: REload Window"

### Expected Behavior

Not seeing the error at loading

### Exceptions & Errors (if any)

_No response_

### .NET Install Tool Version

v2.2.8

### Your operating system? Please provide more detail, such as the version and or distro above.

N/A

### VS Code Version

1.97.2

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.