Skip to content

[WebToolsE2E] Using VS Code C# Dev Kit, there is no Aspire version selection when adding .NET Aspire Orchestration to a web project. #7972

Open
@v-elenafeng

Description

@v-elenafeng

REGRESSION INFO: Not a regression

INSTALL STEPS

  1. Clean machine: Win11 x64 ENU
  2. Install SDK 9.0.200 (latest-released-version)
  3. Install Aspire templates 9.1 (latest-released-version)
    • dotnet new install Aspire.ProjectTemplates
  4. Install VS Code + C# Dev Kit extension (latest pre-release version 1.17.48)

REPRO STEPS

  1. Using VS Code, create new 9.0 ASP.NET Web App (Razor Pages) > WebAppRp01

  2. In Solution Explorer, right-click solution node > Add .NET Aspire Orchestration > select WebAppRp01 as the project to be orchestrated.

    Image

  3. For the names of AppHost and ServiceDefaults projects, set the values to be WebAppRp01.AppHost and WebAppRp01.ServiceDefaults.

ACTUAL
When adding .NET Aspire Orchestration, there is no Aspire version selection provided and the latest version of Aspire is always created.

EXPECTED
Similar to what VS does, there should be an option to select the Aspire version.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-toolingvs-codeIssues related to vs code tooling for aspire

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions