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
602 stars 55 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 4 months ago

vdanche commented 4 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 4 months ago

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

baronfel commented 3 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 3 months ago

This issue not repro on Mac. image image