Skip to content

Conversation

maraf
Copy link
Member

@maraf maraf commented Oct 6, 2025

In dotnet/sdk#50949 we changed the identity of StaticWebAsset to contain fingerprint (System.Private.Corelib.wasm -> System.Private.Corelib.FP.wasm). If we do relink, these assemblies from build are replaced by assemblies from relink. If we don't, we need to accommodate for the fingerprint when matching assets from build.

Contributes to #120393

@maraf maraf added arch-wasm WebAssembly architecture os-browser Browser variant of arch-wasm labels Oct 7, 2025
@maraf maraf added this to the 11.0.0 milestone Oct 7, 2025
Copy link
Contributor

Tagging subscribers to 'arch-wasm': @lewing, @pavelsavara
See info in area-owners.md if you want to be subscribed.

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the WebAssembly publish task to handle fingerprinted assembly assets correctly when the .NET SDK fingerprints static web assets. The changes ensure that assembly matching works properly when assemblies have fingerprinted names (e.g., System.Private.Corelib.FP.wasm instead of System.Private.Corelib.wasm).

Key changes:

  • Adds logic to extract non-fingerprinted asset item specifications for proper assembly matching
  • Updates assembly update logic to use original (non-fingerprinted) names when FingerprintAssets is enabled
  • Ensures satellite assemblies are handled consistently with the fingerprinting approach

@maraf maraf enabled auto-merge (squash) October 8, 2025 20:18
@maraf
Copy link
Member Author

maraf commented Oct 8, 2025

/backport to release/10.0

Copy link
Contributor

github-actions bot commented Oct 8, 2025

Started backporting to release/10.0: https://github.com/dotnet/runtime/actions/runs/18356980923

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

Labels

arch-wasm WebAssembly architecture area-Build-mono os-browser Browser variant of arch-wasm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants