Skip to content

Avoid MIBC references across the NativeAOT project graph - #138055

Merged
akoeplinger merged 2 commits into
mainfrom
copilot/ci-scan-fix-circular-dependency
Nov 21, 2026
Merged

akoeplinger merged 2 commits into
mainfrom
copilot/ci-scan-fix-circular-dependency

Conversation

@jkoritzinsky

@jkoritzinsky jkoritzinsky commented Nov 21, 2026 •

Copy link
Copy Markdown
Member

BuildNativeAOTRuntimePack=true was adding a merge-mibc.proj reference to source generators and tools, creating a circular dependency during static-graph restore.

  • Scope the reference: Stop inferring MIBC references from BuildNativeAOTRuntimePack.
  • Keep NativeAOT data: Opt the runtime-pack project in explicitly:
    <UseMibcProjectReference>true</UseMibcProjectReference>

@azure-pipelines

azure-pipelines Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).
12 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
@jkoritzinsky jkoritzinsky changed the title [WIP] Fix circular project dependency in NativeAOT restore Avoid MIBC references across the NativeAOT project graph Nov 21, 2026
@jkoritzinsky
jkoritzinsky marked this pull request as ready for review November 21, 2026 02:53
@akoeplinger

Copy link
Copy Markdown
Member

/ba-g unrelated infra issue

@akoeplinger
akoeplinger merged commit b338cb0 into main Nov 21, 2026
104 of 106 checks passed
@akoeplinger
akoeplinger deleted the copilot/ci-scan-fix-circular-dependency branch November 21, 2026 08:24
@github-project-automation github-project-automation Bot moved this to Done in AppModel Nov 21, 2026
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done
Status: Done

Development

Successfully merging this pull request may close these issues.

[ci-scan] Build break: NativeAOT restore has circular project dependency

3 participants