Open
Description
Describe the bug.
In output, it shows that the runtime is uninstalled successfully even though the runtime files are open in another program
Please attach log file(s) here if you have any.
logs.zip
The log file location should be copied to your clipboard if you came from VS Code.
Reproduction Steps
- On Windows, launch VSCode and run 'Sample: Acquire .NET runtime' and enter a version like 8.0.
- After installed successfully, open cmd and go to the installed runtime file path, so that the runtime files are open in cmd.
- On VSCode, run '.NET Install Tool: Uninstall .NET' to uninstall the runtime.
- Observe
Expected Behavior
Uninstalling should be failed if the runtime is open in another program
Exceptions & Errors (if any)
In output, it shows that the runtime is uninstalled successfully, but the runtime files are not deleted.
Note:
- This issue is also repro on v2.3.2 and v2.3.1
.NET Install Tool Version
v2.3.3
Your operating system? Please provide more detail, such as the version and or distro above.
Windows
VS Code Version
1.99.2