dotnet / dotnet/vscode-dotnet-runtime
[NETE2ESDK] [Linux]Cancelling .NET SDK installation does not work
- 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'

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.

On RHEL,
Sometimes, there is a failure message 'The user refused the password prompt', but .NET is installed successfully still.

Sometimes, the cancelling message is displayed, but the SDK is installed succeed.

### .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
Assessment
This issue has not been assessed yet.