`aspire run` for file-based AppHost doesn't rebuild project references
Open
area-cli
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 991
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 196
Description
I've observed when using a file-based AppHost that referenced projects aren't rebuilt on changes. The issue seems to repro when `dotnet run apphost.cs` is used so it might not be specific to the Aspire CLI.
I am able to workaround this by manually building referenced projects via `dotnet build` before calling `aspire run`.
Contributor guide
Research direction
Reproduce the issue with a file-based AppHost using both `dotnet run apphost.cs` and `aspire run`, then trace how referenced projects are detected and rebuilt. It is done when changes to referenced projects are rebuilt automatically without a separate `dotnet build`.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- build-system, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100