Skip to content

Rename managed ILAssembler to Microsoft.DotNet.ILAssembler and enable packaging - #136668

Merged
jkoritzinsky merged 7 commits into
dotnet:mainfrom
jkoritzinsky:dev/jkoritzinsky/ilassembler-identity-and-packaging
Nov 2, 2026
Merged

jkoritzinsky merged 7 commits into
dotnet:mainfrom
jkoritzinsky:dev/jkoritzinsky/ilassembler-identity-and-packaging

Conversation

@jkoritzinsky

Copy link
Copy Markdown
Member

Summary

  • Rename the managed assembler namespace and assembly to Microsoft.DotNet.ILAssembler, updating the CLI, tests, semantic aliases, and ANTLR generation configuration and generated parser.
  • Make the library packable while retaining IsShipping=false; the resulting package is Microsoft.DotNet.ILAssembler under NonShipping.
  • Simplify parser semantic-value aliases to a global static import, retaining the TypeName alias to avoid ambiguity with System.Reflection.Metadata.TypeName.

General test cleanups are intentionally excluded from this PR.

Validation

  • .\build.cmd clr+libs -rc release — passed, zero warnings/errors.
  • .\dotnet.cmd build src\tools\ilasm\src\ILAssembler\gen — passed; regenerated lexer/parser.
  • .\dotnet.cmd build src\tools\ilasm\src\ilasm\ilasm.csproj — passed, including NativeAOT publishing. The published CLI also successfully assembled an IL smoke test into a readable DLL.
  • .\dotnet.cmd pack src\tools\ilasm\src\ILAssembler\ILAssembler.csproj --configuration Debug — passed. Verified package identity, renamed assembly, dependency metadata, and NonShipping output location.
  • .\.dotnet\dotnet.exe test src\tools\ilasm\tests\ILAssembler.Tests\ILAssembler.Tests.csproj --logger 'trx;LogFileName=ilassembler-identity-split.trx' — passed: 5,716 passed, 3 existing platform skips, zero failures, on the final identity-only branch.

Note

This PR description and the changes were generated with GitHub Copilot.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 5 pipeline(s).
11 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: @JulieLeeMSFT, @dotnet/jit-contrib
See info in area-owners.md if you want to be subscribed.

Comment thread src/tools/ilasm/README.md Resolved
Comment thread src/tools/ilasm/README.md Resolved
jkoritzinsky and others added 3 commits October 30, 2026 10:14
Preserve the compiler-API test cleanup from main while applying the Microsoft.DotNet.ILAssembler namespace rename.

Co-authored-by: Copilot App <[email protected]>
@jkoritzinsky
jkoritzinsky requested a review from jkotas November 2, 2026 21:17
@jkoritzinsky

Copy link
Copy Markdown
Member Author

/ba-g arm failure unrelated to packaging changes.

@jkoritzinsky
jkoritzinsky merged commit be8fd6e into dotnet:main Nov 2, 2026
61 of 63 checks passed
@github-project-automation github-project-automation Bot moved this to Done in AppModel Nov 2, 2026
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants