Skip to content

[NativeAOT] Use SDK-selected runtime pack version - #12489

Draft
simonrozsival with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-nativeaot-publish-error
Draft

[NativeAOT] Use SDK-selected runtime pack version#12489
simonrozsival with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-nativeaot-publish-error

Conversation

Copilot AI commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

NativeAOT publish could pair the SDK-selected ILCompiler with an Android workload-pinned runtime pack. The resulting incompatible System.Private.CoreLib lacked AsyncHelpers.RestoreInlinedFrameContexts.

  • Runtime-pack resolution

    • Remove the Android LatestRuntimeFrameworkVersion override.
    • Preserve the android-arm RID extension.
    • Let the SDK select coherent ILCompiler and NativeAOT runtime-pack versions.
  • Regression coverage

    • Verify NativeAOT restore ignores the workload runtime version property and uses the SDK-owned version.

Co-authored-by: simonrozsival <374616+simonrozsival@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix NativeAOT publish failure related to missing RestoreInlinedFrameContexts [NativeAOT] Use SDK-selected runtime pack version Aug 24, 2026
Copilot AI requested a review from simonrozsival August 24, 2026 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NativeAOT publish fails when AsyncHelpers.RestoreInlinedFrameContexts is missing

2 participants