Commit 79c0886
Revert ComputeWasmPublishAssets.cs changes that break native/AOT tests
The SourceType=Discovered/fx path filtering and CopyToPublishDirectory=Never
guard in ComputeWasmPublishAssets.cs were too broad - they blocked legitimate
linker output replacements, causing mono_wasm_load_runtime crashes in all
native build tests. This was already reverted on the main branch PR #126211;
apply the same revert to the preview3 backport.
The defense-in-depth filter in Browser.targets (excluding CopyToPublishDirectory=Never
from _WasmResolvedFilesToPublish) remains - it prevents the items from reaching
ComputeWasmPublishAssets in the first place.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 9249205 commit 79c0886
File tree
1 file changed
+1
-25
lines changed- src/tasks/Microsoft.NET.Sdk.WebAssembly.Pack.Tasks
1 file changed
+1
-25
lines changedLines changed: 1 addition & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
458 | 458 | | |
459 | 459 | | |
460 | 460 | | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
| 461 | + | |
476 | 462 | | |
477 | 463 | | |
478 | 464 | | |
| |||
736 | 722 | | |
737 | 723 | | |
738 | 724 | | |
739 | | - | |
740 | | - | |
741 | | - | |
742 | | - | |
743 | | - | |
744 | | - | |
745 | | - | |
746 | | - | |
747 | | - | |
748 | | - | |
749 | 725 | | |
750 | 726 | | |
751 | 727 | | |
| |||
0 commit comments