Skip to content

Fix CoreCLR Fast Deploy after incremental C# edits#12204

Closed
davidnguyen-tech with Copilot wants to merge 3 commits into
mainfrom
copilot/fix-app-crash-incremental-edit
Closed

Fix CoreCLR Fast Deploy after incremental C# edits#12204
davidnguyen-tech with Copilot wants to merge 3 commits into
mainfrom
copilot/fix-app-crash-incremental-edit

Conversation

Copilot AI commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

CoreCLR Fast Deploy could load an updated app assembly against the stale MVID typemap embedded in the installed libxamarin-app.so, causing Java peer resolution failures after incremental C# edits.

  • Incremental packaging

    • Include @(_ApplicationSharedLibrary) directly in _BuildApkFastDev inputs.
    • Rebuild and reinstall the APK when the generated typemap library changes.
  • Regression coverage

    • Add a CoreCLR Fast Deploy test performing a comment-only C# edit.
    • Verify dex compilation remains skipped while APK packaging reruns.

Copilot AI and others added 2 commits July 22, 2026 07:07
Co-authored-by: davidnguyen-tech <87228593+davidnguyen-tech@users.noreply.github.com>
Co-authored-by: davidnguyen-tech <87228593+davidnguyen-tech@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix app crash after incremental C# edit in Fast Deploy Fix CoreCLR Fast Deploy after incremental C# edits Jul 22, 2026
Copilot AI requested a review from davidnguyen-tech July 22, 2026 07:17
@davidnguyen-tech

Copy link
Copy Markdown
Member

Closing in favor of #12205

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][Fast Deploy] App crashes after an incremental C# edit on device or emulator

2 participants