Skip to content

Enable cached ReadyToRun for CoreCLR Android Debug builds - #12118

Closed
kotlarmilos with Copilot wants to merge 6 commits into
mainfrom
copilot/enable-cached-ready-to-run
Closed

kotlarmilos with Copilot wants to merge 6 commits into
mainfrom
copilot/enable-cached-ready-to-run

Conversation

Copilot AI commented Jul 15, 2026 •

Copy link
Copy Markdown
Contributor

CoreCLR Debug builds now precompile stable framework and Android SDK assemblies while preserving user assemblies as IL for debugging and incremental development.

  • ReadyToRun defaults

    • Enable non-composite ReadyToRun for CoreCLR Debug applications.
    • Preserve composite ReadyToRun for Release builds and explicit opt-out behavior.
  • Assembly selection

    • Compile managed runtime-pack assemblies, including System.Private.CoreLib.dll.
    • Exclude application and NuGet package assemblies from crossgen2.
  • Incremental builds

    • Reuse per-RID ReadyToRun outputs through the existing incremental pipeline.
    • Prevent user-code changes from invalidating framework ReadyToRun outputs.
  • Fast deployment

    • Package cached framework images through the existing fast deployment path.
    • Suppress the incompatible-configuration warning for this supported CoreCLR Debug scenario.
  • Coverage

    • Verify framework assemblies contain ReadyToRun images.
    • Verify user assemblies remain IL.
    • Verify user-only changes skip crossgen2 and retain cached framework images.

Copilot AI and others added 3 commits July 15, 2026 11:03
Co-authored-by: kotlarmilos <11523312+kotlarmilos@users.noreply.github.com>
Co-authored-by: kotlarmilos <11523312+kotlarmilos@users.noreply.github.com>
Co-authored-by: kotlarmilos <11523312+kotlarmilos@users.noreply.github.com>
Copilot AI changed the title [WIP] Enable cached ReadyToRun for Android Debug builds Enable cached ReadyToRun for CoreCLR Android Debug builds Jul 15, 2026
Copilot AI requested a review from kotlarmilos July 15, 2026 11:13
Comment thread src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/BuildTest2.cs Outdated
Comment thread src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/BuildTest2.cs Outdated
kotlarmilos and others added 2 commits July 15, 2026 13:51
…sts/BuildTest2.cs

Co-authored-by: Šimon Rozsíval <simon@rozsival.com>
…sts/BuildTest2.cs

Co-authored-by: Šimon Rozsíval <simon@rozsival.com>
@kotlarmilos

Copy link
Copy Markdown
Member

#12117

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.

[CoreCLR] Enable cached ReadyToRun for Android Debug builds

3 participants