Repository navigation
[Blazor] Fix Endpoints linker substitution assembly name - #70242
Merged
Merged
Conversation
Co-authored-by: Copilot App <[email protected]>
kotlarmilos
requested review from
kotlarmilos
and removed request for
Copilot
November 2, 2026 10:02
kotlarmilos
approved these changes
Nov 2, 2026
Member
Author
|
/azp run aspnetcore-components-e2e Note This comment was generated with the assistance of GitHub Copilot. |
|
No pipelines are associated with this pull request. |
maraf
temporarily deployed
to
copilot-pat-pool
November 2, 2026 12:11 — with
GitHub Actions
Inactive
maraf
temporarily deployed
to
copilot-pat-pool
November 2, 2026 12:11 — with
GitHub Actions
Inactive
maraf
temporarily deployed
to
copilot-pat-pool
November 2, 2026 12:12 — with
GitHub Actions
Inactive
maraf
temporarily deployed
to
copilot-pat-pool
November 2, 2026 12:14 — with
GitHub Actions
Inactive
maraf
temporarily deployed
to
copilot-pat-pool
November 2, 2026 12:16 — with
GitHub Actions
Inactive
maraf
temporarily deployed
to
copilot-pat-pool
November 2, 2026 12:17 — with
GitHub Actions
Inactive
Contributor
|
✅ No documentation PR was created. Confidence that documentation is needed: 5% No docs needed: internal bug fix to a linker substitution file; confident no documentation surface is affected. Documentation surfaces considered
|
maraf
temporarily deployed
to
copilot-pat-pool
November 2, 2026 12:17 — with
GitHub Actions
Inactive
Member
Author
|
/backport to release/11.0 Note This comment was generated with the assistance of GitHub Copilot. |
Contributor
|
Started backporting to |
4 of 11 tasks
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix Endpoints linker substitution assembly name
Correct the assembly targeted by the embedded Endpoints linker substitutions.
Description
The Endpoints assembly's embedded
ILLink.Substitutions.xmlincorrectly targetsMicrosoft.AspNetCore.Components.Forms, causing IL2101 during trimmed publishing. Change the assembly name toMicrosoft.AspNetCore.Components.Endpoints, preserving the existing hot-reload substitution.One-off validation used the issue's minimal
IHtmlHelperconsole reproduction with repository-built baseline and fixed Endpoints assemblies. Before the fix, trimmed publishing emitted IL2101 and failed with NETSDK1144 when linker warnings were treated as errors. After the fix, publishing succeeded without IL2101 forosx-arm64andwin-x64with linker warnings treated as errors; the macOS executable also ran successfully.Validation was on current
maintargeting .NET 12, not a .NET 11 servicing branch. Windows was cross-published, not executed. No permanent tests were added, as requested; inline documentation is not applicable. All six repository substitution files were checked against their owning projects' evaluated assembly names, with no other mismatches found.Fixes: #70236
Note
This PR description was generated with the assistance of GitHub Copilot.