Commit 0ada13f
[release/10.0] [browser] Expect fingerprint on dotnet.js for preloading (#120746)
Backport of #120694 to release/10.0
In dotnet/sdk#50949 we changed the identity of
StaticWebAsset to contain fingerprint (dotnet.native.wasm ->
dotnet.native.FP.wasm). This PR accommodates this when checking for
dotnet.native.wasm asset from build.
The SDK change didn't flown to the runtime yet, and so Wasm.Build.Tests
won't test it yet.
Fixes dotnet/aspnetcore#64011
/cc @maraf
## Customer Impact
- [ ] Customer reported
- [x] Found internally
[[Select one or both of the boxes. Describe how this issue impacts
customers, citing the expected and actual behaviors and scope of the
issue. If customer-reported, provide the issue
number.]](dotnet/aspnetcore#64011)
## Regression
- [x] Yes
- [ ] No
Introduced in dotnet/sdk#50949 which added a
fingerprint to the msbuild item identity
## Testing
Manual and automated tests.
## Risk
Low. The change are very scoped to target and items used only by
preloading.
**IMPORTANT**: If this backport is for a servicing release, please
verify that:
- The PR target branch is `release/X.0-staging`, not `release/X.0`.
## Package authoring no longer needed in .NET 9
**IMPORTANT**: Starting with .NET 9, you no longer need to edit a NuGet
package's csproj to enable building and bump the version.
Keep in mind that we still need package authoring in .NET 8 and older
versions.
---------
Co-authored-by: Marek Fišera <mara@neptuo.com>
Co-authored-by: Larry Ewing <lewing@microsoft.com>1 parent e694305 commit 0ada13f
File tree
3 files changed
+47
-16
lines changed- eng
- src/mono
- nuget/Microsoft.NET.Sdk.WebAssembly.Pack/build
- wasm/Wasm.Build.Tests
3 files changed
+47
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| |||
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
514 | 514 | | |
515 | 515 | | |
516 | 516 | | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
517 | 521 | | |
518 | | - | |
| 522 | + | |
| 523 | + | |
519 | 524 | | |
520 | 525 | | |
521 | 526 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
26 | 31 | | |
27 | 32 | | |
28 | 33 | | |
29 | 34 | | |
30 | | - | |
| 35 | + | |
31 | 36 | | |
32 | 37 | | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
36 | | - | |
| 41 | + | |
37 | 42 | | |
38 | 43 | | |
39 | 44 | | |
| |||
51 | 56 | | |
52 | 57 | | |
53 | 58 | | |
54 | | - | |
| 59 | + | |
| 60 | + | |
55 | 61 | | |
56 | | - | |
57 | | - | |
58 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
59 | 73 | | |
60 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
61 | 85 | | |
62 | | - | |
63 | | - | |
| 86 | + | |
| 87 | + | |
64 | 88 | | |
| 89 | + | |
| 90 | + | |
65 | 91 | | |
66 | 92 | | |
0 commit comments