dotnet / dotnet/vscode-dotnet-runtime
dotnet 8 sdk downloading failed
- Dominant language
- TypeScript
- Stars
- 209
- Forks
- 455
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug.
When I open an avalonia project, it occurs.
I have seen several same issues, but I don't think the problem is solved in plugin 2.0.2. As you can see, error happened again.
I'm pretty sure the internet connection is ok, The plugin installed .net 7 successfully before install .net 8.
### Please attach log file(s) here if you have any.
AvaloniaTeam.vscode-avalonia requested to download the .NET Runtime.
Downloading .NET version(s) 8.0.3~x64 ....Error
Failed to download .NET 8.0:
Web Request to https://dot.net/v1/dotnet-install.ps1 Failed: n[r].split is not a function. Aborting. Please ensure that you are online.
Error
Failed to download .NET 8.0:
Web Request to https://dot.net/v1/dotnet-install.ps1 Failed: n[r].split is not a function. Aborting. Please ensure that you are online.
### Reproduction Steps
Install avalonia plugin
Create an avalonia xplat project , then open the fold in vscode.
### Expected Behavior
It should use the .net sdk in C:\Program Files\dotnet directly or download new sdk successfully.
### Exceptions & Errors (if any)
_No response_
### .NET Install Tool Version
v2.0.2
### Your operating system? Please provide more detail, such as the version and or distro above.
Windows
### VS Code Version
1.87.2(system setup)
Contributor guide
Assessment
This issue has not been assessed yet.