microsoft / microsoft/aspire

[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.

Open
#9,276 13 comments 0 reactions 1 assignee Claimed by @mitchdenny View on GitHub
area-cli needs-retriage
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

**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](https://github.com/user-attachments/assets/a1e58e08-39be-4ddf-90b0-3d6e631265c3)

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.