Skip to content

[release/11.0.1xx-preview3] Copy HotReload dll to intermediate to avoid duplicate identity in multi-client WASM#53664

Merged
lewing merged 2 commits intorelease/11.0.1xx-preview3from
backport/pr-53656-to-release/11.0.1xx-preview3
Apr 2, 2026
Merged

[release/11.0.1xx-preview3] Copy HotReload dll to intermediate to avoid duplicate identity in multi-client WASM#53664
lewing merged 2 commits intorelease/11.0.1xx-preview3from
backport/pr-53656-to-release/11.0.1xx-preview3

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot commented Apr 1, 2026

Backport of #53656 to release/11.0.1xx-preview3

/cc @lewing

lewing and others added 2 commits April 1, 2026 19:41
The JS module was already copied to $(IntermediateOutputPath)hotreload/
to give each project a unique path (sdk#52816), but the dll was still
referenced directly from the shared SDK path. In multi-client hosted
Blazor WASM scenarios, both clients reference the same SDK-path dll,
which causes ComputeWasmPublishAssets to replace Framework-materialized
per-project assets with the shared path, leading to duplicate Identity
crashes in ApplyCompressionNegotiation.

Copy the dll to intermediate (matching the .js pattern) so each project
gets a unique path. This is the same approach @javiercn recommended for
the JS module in sdk#52816.

Co-authored-by: Copilot <[email protected]>
Ensures dotnet clean removes the intermediate copy.

Co-authored-by: Copilot <[email protected]>
@github-actions github-actions bot added the backport PR that has been backported to a servicing branch label Apr 1, 2026
@github-actions github-actions bot added the backport PR that has been backported to a servicing branch label Apr 1, 2026
@lewing lewing requested a review from tmat April 1, 2026 19:42
@lewing lewing enabled auto-merge (squash) April 2, 2026 16:10
@lewing lewing merged commit 1c98288 into release/11.0.1xx-preview3 Apr 2, 2026
23 checks passed
@lewing lewing deleted the backport/pr-53656-to-release/11.0.1xx-preview3 branch April 2, 2026 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport PR that has been backported to a servicing branch Servicing-approved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants