dotnet / cli-lab

A guided tool will be provided to enable the controlled clean up of a system such that only the desired versions of the Runtime and SDKs remain.
MIT License
625 stars 56 forks source link

[NETSDKE2E]8.0.100-rc.2.23502.2 version is displayed incorrectly as "8.0.100" in `dotnet-core-uninstall list` output. #285

Open vdanche opened 8 months ago

vdanche commented 8 months ago

1.install dotnet-core-uninstall(1.7.515801) 2.Install SDK 8.0.100-rc.2.23502.2

  1. Run "dotnet-core-uninstall list" 4.check the output of dotnet-core-uninstall list

Expected Result: the output of dotnet-core-uninstall list displays well.

Actual Result: 8.0.100-rc.2.23502.2 version is displayed incorrectly as "8.0.100" in dotnet-core-uninstall list output.
image dotnet --info image

vdanche commented 8 months ago

The runtime version: 8.0.0-preview.7.23375.6 is also displayed incorrectly as "8.0.0" image

baronfel commented 7 months ago

I think this is a bug in our version-detection regex, which is currently expecting that RC versions will not have more than one digit in them.

v-xiaofchen commented 7 months ago

This issue not repro on Mac. image image

marcpopMSFT commented 1 month ago

Adding here that if you have RC2 and RC1 both installed, we only list one of them. Likely related.

vdanche commented 1 month ago

still happens on 9.0.100-rc.2.24474.11 with tool version 1.7.550802 Image