Skip to content

[AspireE2E] aspire publish and aspire deploy fail due to no resource in the distributed application model supporting deployment, even when deploying Aspire starter with Redis or an Aspire project with components configured. #10017

@vmykagapuz

Description

@vmykagapuz

INSTALL STEPS

  1. Clean machine: Win11 x64 24h2 ENU
  2. Install SDK 9.0.301
  3. Add dotnet9 feed for 9.4.0
  4. Install the latest Aspire 9.4.0
    -dotnet new install Aspire.ProjectTemplates::9.4.0-preview.1.25318.8 --force
  5. Install Aspire.CLI
    -dotnet tool install --global aspire.cli --version 9.4.0-preview.1.25318.8

REPRO STEPS

  1. Open CMD and create aspire project:
    aspire new > Select project template (aspire-starter)> Enter the project name > Enter the output path > Select template version (9.4)
  2. Publish project:
    cd aspire1/aspire1.apphost
    aspire publish / aspire deploy

ACTUAL
aspire publish and aspire deploy fail due to no resource in the distributed application model supporting deployment
Image

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