dotnet / dotnet/vscode-dotnet-runtime

[NETE2ESDK] [Linux]Cancelling .NET SDK installation does not work

Open
#1,657 8 comments 0 reactions 0 assignees View on GitHub
P2
Dominant language
TypeScript
Stars
209
Forks
455
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug.

Cancelling .NET SDK installation does not work on Linux

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

1. On Ubuntu 22.04 or RHEL 9.3, run the sample command ‘Install .NET SDK Globally via .NET Install Tool (Former Runtime Extension)‘.
2. Use the version it provided, which is 7.0.103. Hit enter.
3. On the Authentication Required prompt, click 'cancel'
![image](https://github.com/dotnet/vscode-dotnet-runtime/assets/1578239/e7b52022-2980-4d59-b29d-c0de602435c3)

5. Observe

### Expected Behavior

You should see a failure message saying the installation was cancelled and installation is cancelled successfully.

### Exceptions & Errors (if any)

On Ubuntu 22.04, no failure message and .NET SDK is installed successfully still.
![image](https://github.com/dotnet/vscode-dotnet-runtime/assets/1578239/5c0e9ea2-75c1-4347-885b-f02ed437c26b)

On RHEL,
Sometimes, there is a failure message 'The user refused the password prompt', but .NET is installed successfully still.
![image](https://github.com/dotnet/vscode-dotnet-runtime/assets/1578239/28556f17-1db6-47be-86cf-2de7ad6f23da)
Sometimes, the cancelling message is displayed, but the SDK is installed succeed.
![image](https://github.com/dotnet/vscode-dotnet-runtime/assets/1578239/b34f7d80-1ba7-4190-915d-d09377c72616)

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

1.86.0

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.