Repository navigation
[release/11.0.1xx] Keep Web SDK browser tools local to their project - #57153
Merged
Merged
Conversation
Port a235c519e0cd3aab6d58444445ef945fd852b0b2 and b5516f595ed46536997de7e2ff4746eefe55e90f to release/11.0.1xx. Filter export-only reference candidates without modifying cached manifests or local endpoints. Preserve servicing hot-reload enablement and import timing. Cover plain Web SDK API app-to-app references, library and ordering-only references, incremental initializer propagation, and hosted WebAssembly browser tools. Fixes #56656 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
Azure Pipelines: Successfully started running 2 pipeline(s). 1 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the change to keep Hot Reload browser tools local to each Web SDK project.
No open issues 🎉
What changed in this PR
This servicing fix addresses #56656, a Debug-build regression when one Web SDK project references another. It keeps each project’s Hot Reload browser tools local while preserving ordinary static assets and hosted WebAssembly asset propagation.
Changes:
- Separates reference-export candidates from cached build assets and filters out project-local browser tools.
- Adds regression coverage for library, executable, and ordering-only references, including incremental builds and endpoint checks.
- Documents the browser-tools export behavior.
| File | Description |
|---|---|
test/Microsoft.NET.Sdk.StaticWebAssets.Tests/HotReloadBrowserToolsIntegrationTest.cs |
Adds project-reference regression tests and strengthens hosted WebAssembly endpoint assertions. |
src/StaticWebAssetsSdk/Targets/Microsoft.NET.Sdk.StaticWebAssets.References.targets |
Introduces a separate asset candidate list for reference exports. |
src/StaticWebAssetsSdk/Targets/Microsoft.NET.Sdk.StaticWebAssets.HotReload.targets |
Filters local Web SDK browser tools from reference exports. |
src/StaticWebAssetsSdk/AGENTS.md |
Documents local asset ownership and preserved WebAssembly propagation. |
Review effort: Balanced
Member
|
/azp run |
|
Azure Pipelines: Successfully started running 2 pipeline(s). 2 pipeline(s) were filtered out due to trigger conditions. |
wtgodbe
approved these changes
Nov 16, 2026
5 of 11 tasks
akoeplinger
had a problem deploying
to
copilot-pat-pool
November 17, 2026 10:41 — with
GitHub Actions
Failure
This was referenced Nov 25, 2026
This branch had an error being 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.
[release/11.0.1xx] Keep Web SDK browser tools local to their project
Fix Debug builds when a Web SDK app directly references another Web SDK app.
Description
Keep each app's Hot Reload browser assets local when one
Microsoft.NET.Sdk.Webapplication directly references another.Fixes #56656
Customer Impact
Debug builds can fail for directly referenced Web SDK applications.
Regression?
Introduced in .NET 11 RC2; the issue reports that RC1 worked.
Risk
Narrow filtering of Hot Reload browser assets during reference export. Normal static assets and hosted WebAssembly asset propagation are preserved.
Verification
Manual: SDK 11 API-to-API builds passed with the servicing fix, including ordinary and ordering-only references, incremental builds, and no-op rebuilds.
Automated: regression tests and the full browser-tools integration class passed on the main implementation.
Packaging changes reviewed?
No package-layout or dependency changes.
When servicing release/2.3
N/A - this PR targets
release/11.0.1xx.