dotnet / dotnet/vscode-dotnet-runtime

Failed to download .NET 8.0:

Đang mở
#1,663 7 bình luận 2 reaction 0 người được giao Xem trên GitHub
untriaged
Ngôn ngữ chính
TypeScript
Star
209
Fork
455
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.