Repository navigation
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 remain for the Hot Reload browser-tool export changes.
No open issues 🎉
What changed in this PR
Addresses #56656, a Debug-build regression when one Web SDK project references another, by keeping each project's Hot Reload browser tools local during static web asset export.
Changes:
- Separates reference-export candidates from cached build assets and filters out local server browser tools.
- Adds regression coverage for library, executable, and ordering-only references, while checking ordinary asset propagation and hosted WebAssembly behavior.
- Documents the export-filtering contract.
| File | Description |
|---|---|
test/Microsoft.NET.Sdk.StaticWebAssets.Tests/HotReloadBrowserToolsIntegrationTest.cs |
Adds project-reference regression tests and strengthens hosted WebAssembly asset checks. |
src/StaticWebAssetsSdk/Targets/Microsoft.NET.Sdk.StaticWebAssets.References.targets |
Introduces an export-only candidate list without modifying cached assets. |
src/StaticWebAssetsSdk/Targets/Microsoft.NET.Sdk.StaticWebAssets.HotReload.targets |
Filters local server browser tools from reference exports. |
src/StaticWebAssetsSdk/AGENTS.md |
Documents local browser-tool ownership and preserved WebAssembly propagation. |
Review effort: Balanced
akoeplinger
had a problem deploying
to
copilot-pat-pool
November 17, 2026 10:41 — with
GitHub Actions
Failure
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.