Support uninstallation of latest preview versions
- Dominant language
- C#
- Stars
- 774
- Forks
- 72
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 2
Description
We have some scenarios where it could be useful to uninstall .NET previews from the latest band (currently 8.0) as we move from preview to preview, however this does not appear to be supported:
```
./dotnet-core-uninstall list
.NET Core SDKs:
8.0.100-preview.7.23376.3 (arm64) [Cannot uninstall version 8.0.0 and above]
```
I am trying to better understand this restriction. Is this not allowed because the latest SDK can have a lot of churn in between previews and the behavior of the tool may be unreliable?
Would be reasonable to add a command line param that would let users ignore this upper limit? https://github.com/dotnet/cli-lab/blob/0eab6c3a145e91f1ce16043ec63d9dfe2ac702ea/src/dotnet-core-uninstall/Shared/VSVersioning/VisualStudioSafeVersionsExtractor.cs#L16
Contributor guide
Assessment
This issue has not been assessed yet.