Skip to content

[WebToolsE2E][Aspire] The 'aspire new' command displays the wrong default value for Project templates version #8626

@vmykagapuz

Description

@vmykagapuz

INSTALL STEPS

  1. Clean machine: Win11 x64 24h2 ENU
  2. Install SDK 9.0.202
  3. Add the following:
    -dotnet 9 feed
    -.Net 8 and 9 feed
    -dotnet extension feed
  4. Install the latest Aspire 9.2.0-preview.1 templates
    -dotnet new install Aspire.ProjectTemplates::9.2.0 --force
  5. Run the command using powershell (admin):
    -iex "& { $(irm https://aka.ms/install-artifacts-credprovider.ps1) }"
  6. Install aspire.cli tool
    -dotnet tool install --global aspire.cli --prerelease --source https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-aspire-289c6b87/nuget/v3/index.json

REPRO STEPS

  1. Open CMD and run commad:
    aspire new
  2. Select a project template > Enter the project name > Enter the output path > Project templates version
  3. Check the template version

ACTUAL
The aspire version displayed doesnt match with the installed aspire package version
Image

Image

Note: Using the displayed aspire version is not accepted.
Image

RESULT
The displayed template version should match with the installed aspire package version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions