microsoft / microsoft/aspire

Dashboard and orchestrations shouldn't be packed on build

Open
#8,620 1 comment 0 reactions 0 assignees View on GitHub
area-engineering-systems
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

The Aspire.Dashboard.Sdk and Aspire.Hosting.Orchestration are automatically packed whenever a build is run, which has a noticeable effect on the duration of a build.

![Image](https://github.com/user-attachments/assets/02fc391d-3f96-48b5-8197-118881710dad)

E.g., run the following command, then check msbuild.binlog
```
./build.cmd -restore -build -c Release -ci /p:CI=false /bl
```

It's not obvious in the "new" MSBuild console logger as it constantly rewrites lines (/cc: @rainersigwald), but in GHA it's (relatively) easy to spot ([example](https://github.com/RussKie/aspire/actions/runs/14327794204/job/40156631054)):

![Image](https://github.com/user-attachments/assets/9ce4f484-75fa-4b15-8636-1c8e9f4f94db)

This target should be conditioned as well:
https://github.com/dotnet/aspire/blob/f9035bc913df62c51ead803f0578518f53b0364a/eng/dashboardpack/Common.projitems#L36

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.