Skip to content

Comments

Document ILRepack incompatibility with .NET 6+ AOT compilation#2

Draft
Copilot wants to merge 2 commits intoACadSharpfrom
copilot/check-aot-il-repacking
Draft

Document ILRepack incompatibility with .NET 6+ AOT compilation#2
Copilot wants to merge 2 commits intoACadSharpfrom
copilot/check-aot-il-repacking

Conversation

Copy link

Copilot AI commented Feb 15, 2026

ILRepack is documented in STRONG_NAME_RUNTIME_ERROR.md as a solution for strong-name signing issues, but post-build IL manipulation breaks .NET 6+ AOT compilation (PublishAot). Verified that ILRepack is not currently implemented—only documented as an option.

Changes

New Documentation

  • AOT_COMPATIBILITY.md: Technical details on why ILRepack fails with AOT, alternatives (source embedding, separate assemblies), and testing guidance
  • AOT_CHECKLIST.md: Pre-submission verification showing ILRepack not implemented, current targets (netstandard2.0, net48) don't support AOT

Updated Documentation

  • STRONG_NAME_RUNTIME_ERROR.md: Added AOT compatibility warnings to ILRepack section, updated comparison matrix with AOT column
  • STRONG_NAME_DECISION.md: Cross-referenced AOT compatibility guide in ILRepack alternative
  • README.md: Added links to AOT compatibility documentation

Compatibility Matrix

Approach .NET Framework .NET 6+ (no AOT) .NET 6+ (with AOT)
ILRepack ✅ Safe ✅ Safe ❌ Incompatible
CS8002 Suppression (current) ✅ Safe ✅ Safe ✅ Safe

Repository is currently AOT-compatible. Documentation prevents future AOT issues if ILRepack is implemented.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: dsn27 <45662116+dsn27@users.noreply.github.com>
Copilot AI changed the title [WIP] Check IL repacking compatibility with AOT Document ILRepack incompatibility with .NET 6+ AOT compilation Feb 15, 2026
Copilot AI requested a review from dsn27 February 15, 2026 19:27
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.

2 participants