Repository navigation
Commit 8e788a9
committed
[wasi] Fix duplicate AcquireWasiSdk.targets import in libs build
src/native/libs/build-native.proj imports AcquireWasiSdk.targets
unconditionally. For TargetsBrowser/TargetsWasi builds the project
also imports eng/native.wasm.targets (via line 3), which in turn
imports AcquireWasiSdk.targets — producing MSB4011 'project cannot
be imported again' under TargetsWasi.
Guard the direct import on '!TargetsWasi'; native.wasm.targets
covers the WASI case.1 parent bde064b commit 8e788a9
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments