dotnet / aspire

Tools, templates, and packages to accelerate building observable, production-ready apps
https://learn.microsoft.com/dotnet/aspire
MIT License
3.92k stars 479 forks source link

[WebToolsE2E][Aspire] After installing VS (Include Aspire 8.0.0) + Aspire 8.0.2 and then successfully uninstalling Aspire, Aspire is still in the dotnet workload list #4714

Open v-bennettyue opened 4 months ago

v-bennettyue commented 4 months ago

REGRESSION INFO: Worked in VS 17.10.3 (Include Aspire 8.0.0) + Aspire 8.0.1 + Uninstall aspire

REPRO STEPS

  1. Clean machine: Win11 x64 23h2 ENU
  2. Install VS 17.10.3 (Include Aspire 8.0.0)
  3. Install Aspire 8.0.2
    • Apply feeds
  4. After Aspire is successfully installed: aspire manifest image aspire templates image dotnet workload list image
  5. Open powershell and run: "dotnet workload uninstall aspire" to uninstall Aspire, uninstall successfully image

ACTUAL After Aspire is successfully uninstalled, Aspire is still in the dotnet workload list, however, I cannot find the aspire template in the VS UI creation page. aspire manifest image aspire templates image dotnet workload list image VS UI creation page image

Note: This issue not repro when only SDK + aspire is installed

EXPECTED After successfully uninstalling Aspire, there is no Aspire in the dotnet workload list, and the Aspire template cannot be found in the VS UI creation page.

v-bennettyue commented 4 months ago

After installing VS (Include Aspire8.0.0) + Aspire 8.1 and then uninstalling Aspire 8.1 will encounter this issue #4700 .