dotnet / dotnet/vscode-dotnet-runtime

/bin/cli shell does not exist

Open
#2,216 2 comments 0 reactions 0 assignees View on GitHub
needs more info untriaged
Dominant language
TypeScript
Stars
209
Forks
455
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug.

Every time i start VS Code i get this error popup, got tired of it so here i am posting an issue.

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

```
03/04/2025, 09:27:09 DotnetASPNetRuntimeFinalAcquisitionError
DotnetAcquisitionInstallError
Error
.NET Acquisition Failed: .NET install timed out.
You should change the timeout if you have a slow connection. See: https://github.com/dotnet/vscode-dotnet-runtime/blob/main/Documentation/troubleshooting-runtime.md#install-script-timeouts.
Our CDN may be blocked in China or experience significant slowdown, in which case you should install .NET manually., MESSAGE: Command failed: "/Users/henriksjodahl/.vscode/extensions/ms-dotnettools.vscode-dotnet-runtime-2.3.0/dist/install scripts/dotnet-install.sh" -InstallDir "/Users/henriksjodahl/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/8.0.14~arm64~aspnetcore" -Version 8.0.14 -Verbose -Runtime aspnetcore -Architecture arm64
/Users/henriksjodahl/bin/bash: line 2: bin/cli: No such file or directory
, CODE: 127, SIGNAL: null, Error: .NET install timed out.
You should change the timeout if you have a slow connection. See: https://github.com/dotnet/vscode-dotnet-runtime/blob/main/Documentation/troubleshooting-runtime.md#install-script-timeouts.
Our CDN may be blocked in China or experience significant slowdown, in which case you should install .NET manually., MESSAGE: Command failed: "/Users/henriksjodahl/.vscode/extensions/ms-dotnettools.vscode-dotnet-runtime-2.3.0/dist/install scripts/dotnet-install.sh" -InstallDir "/Users/henriksjodahl/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/8.0.14~arm64~aspnetcore" -Version 8.0.14 -Verbose -Runtime aspnetcore -Architecture arm64
/Users/henriksjodahl/bin/bash: line 2: bin/cli: No such file or directory
, CODE: 127, SIGNAL: null
at g.next (/Users/henriksjodahl/.vscode/extensions/vscode-dotnet-runtime-library/dist/Acquisition/AcquisitionInvoker.js:87:54)
at Generator.next ()
at s (/Users/henriksjodahl/.vscode/extensions/vscode-dotnet-runtime-library/dist/Acquisition/AcquisitionInvoker.js:5:58)
Error: .NET install timed out.
You should change the timeout if you have a slow connection. See: https://github.com/dotnet/vscode-dotnet-runtime/blob/main/Documentation/troubleshooting-runtime.md#install-script-timeouts.
Our CDN may be blocked in China or experience significant slowdown, in which case you should install .NET manually., MESSAGE: Command failed: "/Users/henriksjodahl/.vscode/extensions/ms-dotnettools.vscode-dotnet-runtime-2.3.0/dist/install scripts/dotnet-install.sh" -InstallDir "/Users/henriksjodahl/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/8.0.14~arm64~aspnetcore" -Version 8.0.14 -Verbose -Runtime aspnetcore -Architecture arm64
/Users/henriksjodahl/bin/bash: line 2: bin/cli: No such file or directory
, CODE: 127, SIGNAL: null
at g.next (/Users/henriksjodahl/.vscode/extensions/vscode-dotnet-runtime-library/dist/Acquisition/AcquisitionInvoker.js:87:54)
at Generator.next ()
at s (/Users/henriksjodahl/.vscode/extensions/vscode-dotnet-runtime-library/dist/Acquisition/AcquisitionInvoker.js:5:58)
8.0.14~arm64~aspnetcore
8.0.14~arm64~aspnetcore
8.0.14
arm64
false
aspnetcore
```

### Reproduction Steps

Not really sure, just restart VS Code

### Expected Behavior

well, the download of .NET to work

### Exceptions & Errors (if any)

When trying to run the command manually
```
"/Users/USER/.vscode/extensions/ms-dotnettools.vscode-dotnet-runtime-2.3.1/dist/install scripts/dotnet-install.sh" -InstallDir "/Users/USER/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/8.0.14~arm64~aspnetcore" -Version 8.0.14 -Verbose -Runtime aspnetcore -Architecture arm64
```

i get the same error
```
/Users/{me}/bin/bash: line 2: bin/cli: No such file or directory
```

### .NET Install Tool Version

2.3.1

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

OSX / Darwin / Mac

### VS Code Version

1.98.2

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.