aspire icon indicating copy to clipboard operation
aspire copied to clipboard

[AspireE2E] After installing the Aspire.CLI, the template versions go back to the older version template.

Open Coleen17 opened this issue 8 months ago • 1 comments

REPRO STEPS

  1. Clean machine: Win11 x64 23h2 ENU

  2. Install SDK 9.0.203

  3. Add the dotnet9 feed for 9.3.0-preview.1

  4. Install the latest Aspire 9.3.0-preview.1 templates dotnet new install Aspire.ProjectTemplates::9.3.0-preview.1.25229.16

  5. Run the command in the CMD and check the aspire version section. dotnet new aspire-starter --help

    Image

  6. Install Aspire.CLI dotnet tool install --global aspire.cli --version 9.3.0-preview.1.25229.16

  7. Run the command in the CMD and check the aspire version section. dotnet new aspire-starter --help

    Image

NOTE

  1. There is a fixed issue in Aspire 9.3 that is similar to this case #8764.

Coleen17 avatar Apr 30 '25 06:04 Coleen17

cc @danmoseley @DamianEdwards

davidfowl avatar Apr 30 '25 07:04 davidfowl

Does not seem to repro with latest CLI

dotnet new uninstall Aspire.ProjectTemplates dotnet new install Aspire.ProjectTemplates::9.3.0-preview.1.25229.16 --force dotnet tool install --global aspire.cli --prerelease --source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9/nuget/v3/index.json

and

C:\proj\9035>dotnet new aspire-starter --help | find /i "9.3" --aspire-version <9.2|9.3> The version of .NET Aspire to use. 9.3 Chooses .NET Aspire 9.3 Default: 9.3

C:\proj\9035>aspire --version 9.3.0-preview.1.25257.19+88ff939ce7906abea6a88a58fa46bb9cf1ee54ac

danmoseley avatar May 08 '25 17:05 danmoseley

@Coleen17 please confirm this doesn't repro with latest bits.

danmoseley avatar May 08 '25 17:05 danmoseley

Verified that this issue doesn't repro with the latest build 9.3.0-preview.1.25258.24.

v-elenafeng avatar May 09 '25 05:05 v-elenafeng