dotnet / dotnet/vscode-dotnet-runtime

Failed to download .NET 8.0:

Abierto
#1,663 7 comentarios 2 reacciones 0 asignados Ver en GitHub
untriaged
Lenguaje dominante
TypeScript
Estrellas
209
Forks
455
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### 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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.