Repository navigation
Build shipping assemblies before delayed trimming projects - #69907
Merged
wtgodbe merged 1 commit intoOct 16, 2026
Merged
Conversation
Co-authored-by: Copilot <[email protected]>
Contributor
|
Hey @dotnet/aspnet-build, looks like this PR is something you want to take a look at. |
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
Evaluation confirms project grouping, but execution of the affected Windows build remains unverified.
No open issues 🎉
What changed in this PR
Orders delayed builds so shipping assemblies are built before generated trimming and NativeAOT projects publish.
Changes:
- Builds the transport project first to establish shipping assembly outputs.
- Excludes that prerequisite from subsequent builds while preserving serialized restore and build execution.
| File | Description |
|---|---|
| src/BuildAfterTargetingPack/BuildAfterTargetingPack.csproj | Separates the shipping-assembly prerequisite from remaining delayed builds. |
Review effort: Balanced
wtgodbe
temporarily deployed
to
copilot-pat-pool
October 16, 2026 23:15 — with
GitHub Actions
Inactive
wtgodbe
temporarily deployed
to
copilot-pat-pool
October 16, 2026 23:15 — with
GitHub Actions
Inactive
wtgodbe
temporarily deployed
to
copilot-pat-pool
October 16, 2026 23:16 — with
GitHub Actions
Inactive
wtgodbe
temporarily deployed
to
copilot-pat-pool
October 16, 2026 23:17 — with
GitHub Actions
Inactive
wtgodbe
temporarily deployed
to
copilot-pat-pool
October 16, 2026 23:18 — with
GitHub Actions
Inactive
wtgodbe
temporarily deployed
to
copilot-pat-pool
October 16, 2026 23:19 — with
GitHub Actions
Inactive
Contributor
|
✅ No documentation PR was created. Confidence that documentation is needed: 2% No docs needed: build/CI-only change ordering delayed builds in the repo's own build. Confident, not an insufficient-evidence case. Documentation surfaces considered
|
wtgodbe
temporarily deployed
to
copilot-pat-pool
October 16, 2026 23:19 — with
GitHub Actions
Inactive
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Build shipping assemblies before delayed trimming projects
Impact: Prevents generated trimming and NativeAOT publishes from racing ahead of the shipping assemblies they reference, eliminating the unmatched
CS0006failures seen in internal Windows CI.Build shipping assembly closure before delayed trimming apps
Description
Builds
Microsoft.Internal.Aspnetcore.DotNetApiDocs.Transportbefore the remaining delayed-build projects. That project already references every shipping assembly, so it establishes the complete producer closure before generated trimming projects publish withBuildProjectReferences=false.The restore phase and the remaining delayed builds stay serialized as before.
Validation:
source activate.sh && dotnet msbuild src/BuildAfterTargetingPack/BuildAfterTargetingPack.csproj -getItem:_DelayedBuildPrerequisite -getItem:_RemainingDelayedBuild— passed; evaluated one prerequisite and 19 remaining projects, with the transport project excluded from the remaining set.Related to internal CI build 3107295; no public issue.