dotnet / dotnet/vscode-dotnet-runtime

Error from vscode, Failed to download .NET 7.0.17~x64:

Open
#1,704 3 comments 0 reactions 0 assignees View on GitHub
bug install scripts
Dominant language
TypeScript
Stars
209
Forks
455
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug.

ms-dotnettools.csdevkit requested to download the .NET Runtime.
Downloading .NET version(s) 7.0.17~x64 ..............Error
Failed to download .NET 7.0.17~x64:
Command failed: "/home/pew/.vscode/extensions/ms-dotnettools.vscode-dotnet-runtime-2.0.2/dist/install scripts/dotnet-install.sh" -InstallDir "/home/pew/.config/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/7.0.17~x64" -Version 7.0.17 -Verbose -Runtime dotnet -Architecture x64

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
dotnet_install: Error: Extraction failed

Error
Failed to download .NET 7.0:
.NET Acquisition Failed: Installation failed: Error: Command failed: "/home/pew/.vscode/extensions/ms-dotnettools.vscode-dotnet-runtime-2.0.2/dist/install scripts/dotnet-install.sh" -InstallDir "/home/pew/.config/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/7.0.17~x64" -Version 7.0.17 -Verbose -Runtime dotnet -Architecture x64

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
dotnet_install: Error: Extraction failed

### Please attach log file(s) here if you have any.

The log file location should be copied to your clipboard if you came from VS Code.

### Reproduction Steps

dotnet new console -o GrpcGreeterClient
code -r GrpcGreeterClient

### Expected Behavior

DONO

### Exceptions & Errors (if any)

_No response_

### .NET Install Tool Version

2.0.2

### Your operating system? Please provide more detail, such as the version and or distro above.

Linux

### VS Code Version

Version: 1.87.2 Commit: 863d2581ecda6849923a2118d93a088b0745d9d6 Date: 2024-03-08T15:14:59.643Z Electron: 27.3.2 ElectronBuildId: 26836302 Chromium: 118.0.5993.159 Node.js: 18.17.1 V8: 11.8.172.18-electron.0 OS: Linux x64 6.5.0-25-generic snap

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.