Skip to content

[release/11.0] [Blazor] Fix Endpoints linker substitution assembly name - #70247

Merged
wtgodbe merged 1 commit into
release/11.0from
backport/pr-70242-to-release/11.0
Nov 7, 2026
Merged

wtgodbe merged 1 commit into
release/11.0from
backport/pr-70242-to-release/11.0

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Backport of #70242 to release/11.0

/cc @maraf

[Blazor] Fix Endpoints linker substitution assembly name

Correct the assembly targeted by the embedded Endpoints linker substitutions.

Description

The Endpoints assembly's embedded ILLink.Substitutions.xml incorrectly targets Microsoft.AspNetCore.Components.Forms, causing IL2101 during trimmed publishing. Change the assembly name to Microsoft.AspNetCore.Components.Endpoints, preserving the existing hot-reload substitution.

Fixes #70236 (in this specific format)

Customer Impact

.NET 11 trimmed publishing emits IL2101 and fails when linker warnings are treated as errors

Regression?

  • Yes
  • No

Bug introduced in #65903

Risk

  • High
  • Medium
  • Low

Simple isolated change

Verification

  • Manual (required)
  • Automated

Packaging changes reviewed?

  • Yes
  • No
  • N/A

When servicing release/2.3

  • Make necessary changes in eng/PatchConfig.props

@github-actions
github-actions Bot requested a review from a team as a code owner November 2, 2026 12:24
@PureWeen

PureWeen commented Nov 3, 2026

Copy link
Copy Markdown
Member

/review

@maraf maraf self-assigned this Nov 3, 2026
@maraf maraf added area-blazor Includes: Blazor, Razor Components Servicing-consider Shiproom approval is required for the issue labels Nov 3, 2026
@maraf maraf added this to the 11.0.x milestone Nov 3, 2026
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Hi @github-actions[bot]. Please make sure you've updated the PR description to use the Shiproom Template. Also, make sure this PR is not marked as a draft and is ready-to-merge.

To learn more about how to prepare a servicing PR click here.

@maraf
maraf requested a review from kotlarmilos November 3, 2026 10:05
@maraf

maraf commented Nov 3, 2026

Copy link
Copy Markdown
Member

/ba-g Failures are not related

@kotlarmilos kotlarmilos added Servicing-approved Shiproom has approved the issue and removed Servicing-consider Shiproom approval is required for the issue labels Nov 3, 2026
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Hi @github-actions[bot]. This PR was just approved to be included in the upcoming servicing release. Somebody from the @dotnet/aspnet-build team will get it merged when the branches are open. Until then, please make sure all the CI checks pass and the PR is reviewed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-blazor Includes: Blazor, Razor Components Servicing-approved Shiproom has approved the issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants