Skip to content

[AspireE2E] Created an Aspire version of 9.2.1 templates and run the "aspire run" command, an error "The app host is not compatible. Consider upgrading the app host or Aspire CLI" displayed. #9276

Description

@Coleen17

INSTALL STEPS

  1. Clean machine: Win11 x64 23h2 ENU
  2. Install SDK 9.0.300
  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.25262.21
  5. Install Aspire CLI
    dotnet tool install --global aspire.cli --version 9.3.0-preview.1.25262.21

REPRO STEPS

  1. Create an Aspire Starter App using aspire new command:
  2. Enter project name > Enter Output path name > Select version of Aspire 9.2.1.
  3. Run these commands to go inside the project.
    cd Project1/Aspire1.apphost
  4. Run aspire run command.

ACTUAL
A message of "The apphost is not compatible..." will display.
Image

EXPECTED
Project can create successfully using the 9.2.1 Aspire template version.

Activity

  1. davidfowl commented on May 13, 2025

    @davidfowl
    Collaborator

    This is by design. We made breaking changes and you have to update the apphost to 9.3

  2. added this to the 9.4 milestone on May 13, 2025
  3. davidfowl commented on May 13, 2025

    @davidfowl
    Collaborator

    Moving this to backlog to create a better experience. I think we can:

    1. Tell the user to run aspire update (aspire update command #9135)
    2. Ask the user if they want to run aspire update.
  4. captainsafia commented on May 13, 2025

    @captainsafia
    Contributor

    I just ran into this -- one thing I would recommend is making the error message a bit more direct.

    In the following case, it should tell me to update my AppHost SDK.

    Image
  5. captainsafia commented on May 13, 2025

    @captainsafia
    Contributor

    Edit: actually I'm confused. I seem to get this even if the versions are aligned.

    Image
  6. davidfowl commented on May 13, 2025

    @davidfowl
    Collaborator

    Show your project

  7. balachir commented on May 15, 2025

    @balachir

    Coleen17 on a clean machine with SDK 9.0.300 + latest build of Aspire 9.3.0, I'm unable to reproduce this issue anymore. Can you try again? You can close this issue if it does not reproduce anymore.

    Image

    v-elenafeng

  8. vmykagapuz commented on May 20, 2025

    @vmykagapuz

    Balamurugan Chirtsabesan (@balachir) I verified that this issue still reproduces with aspire 9.3.0 installed. Kindly check the repro steps below to reproduce this issue:
    Image

  9. davidfowl commented on May 20, 2025

    @davidfowl
    Collaborator
  10. davidfowl commented on May 20, 2025

    @davidfowl
    Collaborator

    This is what I said above. 9.3 cli doesn’t work with 9.2

  11. mitchdenny commented on May 20, 2025

    @mitchdenny
    Member

    When you do aspire new ... do this instead:

    Expected to work:
    aspire new --version 9.3.0

    Not expected to work:
    aspire new --version 9.2.1 (or any other version)

    There is also a protocol change coming in 9.4.0.

  12. mitchdenny commented on May 20, 2025

    @mitchdenny
    Member

    Basically I think we can close this issue as this is currently the expected behavior. once the RPC protocol is stable we'll have better backwards compat from the CLI to the apphost.

  13. added
    needs-retriage
    on Apr 8, 2026
  14. v-reinawang commented on Apr 8, 2026

    @v-reinawang

    This issue does not reproduce when running an Aspire version 13.1.0 project using Aspire CLI 13.2.1.

  15. joperezr commented on Apr 30, 2026

    @joperezr
    Member

    As part of triage cleanup ahead of the 13.3 release, this issue is being moved to the Backlog milestone. If this is already fixed or stale it should be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area-clineeds-retriage

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions