-
Notifications
You must be signed in to change notification settings - Fork 300
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.10~x64~aspnetcore when it said it was Done? #2012
Comments
Thank you for taking the time to write a detailed report. Probably if you installed the .NET SDK (using our extension command to install .NET SDK 8.0.1xx) and restart vscode it would get rid of the error for you. Though not fix our bug 😄 --
If the install script hits this error, will it continue to work? Is this due to a lack of powershell policy? It should be greater than ConstrainedLanguage or NoLanguage which I thought is all that is necessary. |
Getting the same issue for about a week now.
|
Likely no.
Unlikely, this error can appear in various scenarios. |
As a workaround, can you install the .NET 8 aspnetcore runtime or .NET 8 sdk, then follow the guidance in the https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.vscode-dotnet-runtime&ssr=false#overview:~:text=I%20already%20have%20a%20.NET%20Runtime%20or%20SDK%20installed%2C%20and%20I%20want%20to%20use%20it 'I already have a .NET Runtime or SDK installed, and I want to use it' section to set the setting to use it. |
Thank you @JanProvaznik 😄 Do you have any further context into how this error occurs? Should we try to get more information from the user so we can see if this is a bug that can be resolved? |
Sorry, I don't have much insight. my answer was based on a few quick searches. What is the invocation of install scripts in this project? It would be nice to have a minimal reproduction. |
I started having this problem yesterday also. I am using VS Code with Unity. I have not made any changes. It started displaying this message repeatedly in the Output panel: Actually, I realized that I started using React yesterday with VS Code. Perhaps that setup made a change that is causing the problem. I used npx create-react-app my-app to set up the React app. |
I am getting same error in VS Code Cancelled Installation of .NET 8.0.10. |
I believe they made a fatal error pointing the update to 8.0.10 when it is supposed to be 9.0.10. |
I installed 8.0.10 by myself. The error message disappeared. Try to install underlined SDK version by yourself. |
Could you tell me your system locales |
LCID Name DisplayName 1033 en-US English (United States) |
Not that then. |
I was also able to fix the problem by installing .NET 8.0.10 using this link: https://dotnet.microsoft.com/en-us/download/dotnet/8.0?form=MG0AV3. Make sure to select the 8.0.10 version before downloading. I am on Windows 11. |
I'm using the a devcontainer that builds our environment from the Here's my complete Dockerfile for reference:
The C# extension is now failing to start with this output:
|
For all of the new people commenting, that was a bug in the C# extension. Please update the C# extension for a fix. See #2021 For the original comments, @JanProvaznik:
I provided some additional info on our internal memo based on the log which contains stderr, stdout, signal, status of the call. The path string is parsed by our lib and the 8.0 should be fine, those are used normally everywhere and work. I dont think the inputs to the call are going to give much more insight, unfortunately, besides maybe the security protocol/exec policy |
The GitHub Copilot for Azure extension has a user seeing a similar error message ("Expected executable does not exist at "/Users/username/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/8.0.11
|
Do they have a log they can provide? Please see above for an example, or, our create new issue template explains how to get our log. That is basically if everything looked fine but dotnet did not exist on the file system afterwards for some reason. Might be a different issue. |
Describe the bug.
Get error "Error aquiring .NET!" on vscode start
Log from .NET Install Tool is fairly unhelpful
more detailed log attached
Please attach log file(s) here if you have any.
DotNetAcquisition-ms-dotnettools.vscode-dotnet-runtime-1731059151952.txt
The log file location should be copied to your clipboard if you came from VS Code.
Reproduction Steps
Open vscode, get error. It has been happeneing for several weeks. computer restart doesn't help
Expected Behavior
.net updated/installed successfully
Exceptions & Errors (if any)
No response
.NET Install Tool Version
8.0.10
Your operating system? Please provide more detail, such as the version and or distro above.
Windows
VS Code Version
1.95.2 (user setup)
The text was updated successfully, but these errors were encountered: