dotnet / dotnet/vscode-dotnet-runtime
Failed to download .NET 8.0:
- Dominant language
- TypeScript
- Stars
- 209
- Forks
- 455
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug.
When I load a new project on vscode, vscode try to download .NET Runtime, but return an error.
### 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.1~x64 .... Error!
Failed to download .NET 8.0:
Web Request to https://dot.net/v1/dotnet-install.sh 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.sh Failed: n[r].split is not a function. Aborting. Please ensure that you are online.
Error!
Failed to download .NET 8.0.1~x64:
Command failed: "/home/lguijarro/.vscode-server/extensions/ms-dotnettools.vscode-dotnet-runtime-2.0.1/dist/install scripts/dotnet-install.sh" -InstallDir "/home/lguijarro/.vscode-server/data/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/8.0.1~x64" -Version 8.0.1 -Verbose -Runtime dotnet -Architecture x64
/bin/sh: 1: /home/lguijarro/.vscode-server/extensions/ms-dotnettools.vscode-dotnet-runtime-2.0.1/dist/install scripts/dotnet-install.sh: Permission denied
Error!
Failed to download .NET 8.0:
.NET Acquisition Failed: Installation failed: Error: Command failed: "/home/lguijarro/.vscode-server/extensions/ms-dotnettools.vscode-dotnet-runtime-2.0.1/dist/install scripts/dotnet-install.sh" -InstallDir "/home/lguijarro/.vscode-server/data/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/8.0.1~x64" -Version 8.0.1 -Verbose -Runtime dotnet -Architecture x64
/bin/sh: 1: /home/lguijarro/.vscode-server/extensions/ms-dotnettools.vscode-dotnet-runtime-2.0.1/dist/install scripts/dotnet-install.sh: Permission denied
### Reproduction Steps
I simply write on terminal this two commands:
```bash
$ dotnet new avalonia.app
$ code .
```
When load vscode show OUTPUT tab with the errors I wrote on preview input field of this from.
### Expected Behavior
Not show and Error I supuse.
### Exceptions & Errors (if any)
_No response_
### .NET Install Tool Version
2.0.1
### Your operating system? Please provide more detail, such as the version and or distro above.
Linux
### VS Code Version
1.86.1
Contributor guide
Assessment
This issue has not been assessed yet.