Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to download .NET 8.0 in Macbook Pro Max M1 #2154

Open
mk7exe opened this issue Mar 3, 2025 · 6 comments
Open

Failed to download .NET 8.0 in Macbook Pro Max M1 #2154

mk7exe opened this issue Mar 3, 2025 · 6 comments

Comments

@mk7exe
Copy link

mk7exe commented Mar 3, 2025

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

Image

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

Error : (WebRequestError)
Failed to download .NET 8.0arm64aspnetcore:
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.0arm64aspnetcore:
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

@aswinc20y
Copy link

Image
.Net Install Tool
select install specific version and select 1.7.2 to solve this issue.

@mk7exe
Copy link
Author

mk7exe commented Mar 5, 2025

Downgraded .Net tools. Still getting this error:

Image

Downgraded SQl Server extension to 1.28.0, same error.

Downgraded to 1.27.0, no error but Authentication using Mixrosoft intra stucks at the sign in step and doesn't go further.

Downgrading to 1.26.0, same issue, stucking on login. I'm giving up and going back to Data Studio!

@mk7exe
Copy link
Author

mk7exe commented Mar 6, 2025

I had many more issues in my vscode that led me to remove it and all its data and reinstall it. The reinstall fixed everything! I think the problem was related to network connection. Everytime I tried to login to Microsift Intra it failed. Sorry I'm not sure what was the issue but a fresh install seems to fixed everything.

@li5tun
Copy link

li5tun commented Mar 9, 2025

I got same error since last week.

@mk7exe
Copy link
Author

mk7exe commented Mar 10, 2025

This is what I did to fix this:

  • Remove all vscode data in ~/.vscode
  • Redownload the vscode (macOS, Apple Silicon)
  • Reinstall extensions

The last two steps might not be neccessary. I think something was messing up the network connection for my vscode and that was the root cause of all issue I was experiencing including this one.

@Tiberriver256
Copy link

Same issue on Windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants