Commit 055bb10
Fix _WasmBuildAppCore target not found for CoreCLR browser-wasm samples
Set RuntimeFlavor from Nested_RuntimeFlavor in Directory.Build.props
before the WasmApp.InTree.props import, so that BrowserWasmApp.props
(and WasmApp.Common.props) is not imported for CoreCLR builds.
Previously RuntimeFlavor was only overridden in Directory.Build.targets,
which evaluates after props. Subsets.props defaults RuntimeFlavor to Mono
for browser-wasm, causing the Mono-specific _WasmBuildAppCore target to
be added to WasmNestedPublishAppDependsOn even for CoreCLR builds.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 1a4177a commit 055bb10
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
49 | 57 | | |
50 | 58 | | |
51 | 59 | | |
0 commit comments