microsoft / microsoft/aspire

[AspireE2E] Using the Aspire Starter App template, the "Distributed application started. Press Ctrl + C to shutdown " is missing when running the project using "dotnet new" command.

Open
#9,275 3 comments 0 reactions 0 assignees View on GitHub
area-templates
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

**REGRESSION INFO**
This issue also reproduced on Aspire 9.2.1

**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 `

**NOTE**
1. This issue does not reproduce on other Aspire Templates.

**REPRO STEP**
1. Create an Aspire Starter App using command:
```
dotnet new aspire-starter -o aspire
cd aspire
cd aspire.apphost

```
2. Run the project using command below:
`dotnet run`

**ACTUAL**
The "Distributed application started. Press Ctrl + C to shutdown " is missing.
![Image](https://github.com/user-attachments/assets/3a601b10-98da-4e00-add1-ef050c68c0f4)

If you try to check the Aspire Dashboard and click start/stop buttons and go to the CMD and press ctrl + C, this error will display.
![Image](https://github.com/user-attachments/assets/b029396d-7cca-4841-8a68-49695c650c1b)

**EXPECTED**
When running the project the "Distributed application starter.Press Ctrl + C to shutdown" should display immediately.
![Image](https://github.com/user-attachments/assets/80d905d2-071f-43cf-bdfe-ad5d854f2c21)

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.