[NETE2ESDK] There is no an error popup in the bottom right corner of VSCode, if enter an invalid version.
v-xiaofchen opened this issue · 6 comments
Describe the bug.
There is no an error popup in the bottom right corner of VSCode, if enter an invalid version.
Reproduction Steps
1.Run the 'Sample: Acquire .NET runtime' command. You should be asked to enter a Major.Minor version, please enter an invalid version (for example, 'foo').
2.observe the output
Expected Behavior
There is an error popup in the bottom right corner of VSCode, as seen below.
Exceptions & Errors (if any)
There is no an error popup in the bottom right corner of VSCode, if enter an invalid version.
.NET Install Tool Version
2.0.6
Your operating system? Please provide more detail, such as the version and or distro above.
N/A
VS Code Version
1.90.0
The similar issue if try running the sample command ‘Install .NET SDK Globally via .NET Install Tool (Former Runtime Extension)‘. here is detailed steps:
Run the sample command ‘Install .NET SDK Globally via .NET Install Tool (Former Runtime Extension)‘.
Use the version '' and hit enter
observe the output
Expected Result:
This should fail with an error that no version is provided.
But there is no an error popup in the bottom right corner of VSCode Like bellow:
Interesting, thank you for pointing this out. This is lower priority than some of our other bugs but I will keep this in mind.
The similar issue on Linux Does Not Install if Custom Install Exists ,here is detailed steps:
Install .NET using the install script by following Install .NET on Linux without using a package manager - .NET | Microsoft Learn
After this, run the sample command ‘Install .NET SDK Globally via .NET Install Tool (Former Runtime Extension)‘.
Use the version it provided, which is 7.0.103. Hit enter.
observe the output
Expected Result:
There is an error popup in the bottom right corner of VSCode Like bellow:
But there is no an error popup in the bottom right corner of VSCode Like bellow:
Bumping in priority since this seems to be a more global issue in the code. Not a release blocker