Skip to content

[AspireE2E] Cannot create an Aspire project with target net10.0 using aspire new. #9931

Open
@v-reinawang

Description

@v-reinawang

INSTALL STEPS

  1. Clean machine: Win11 x64 24h2 ENU
  2. Install SDK 10.0.100-preview.6.25317.108
  3. Apply feed
  4. Install the latest Aspire.ProjectTemplates::9.4.0-preview.1.25317.11
  5. Install aspire.cli --version 9.4.0-preview.1.25317.11
    • dotnet tool install --global aspire.cli --version 9.4.0-preview.1.25317.11

REPRO STEPS

  1. Run the following command:
    aspire new aspire-starter --name AspireApp1

NOTE: In dotnet new, can use ‘-f’ to specify the target, but in aspire new, will be prompted with "Unrecognized command or argument '-f'"
Image

ACTUAL
The TargetFramework of the created project is net9.0
Image

EXPECTED
Can create net10.0 projects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions