Skip to content

Commit

Permalink
Fix the case where net6 AutoImports sets WasmNativeWorkload true and …
Browse files Browse the repository at this point in the history
…emsdk turns that into requiring the workload
  • Loading branch information
lewing committed Jan 30, 2023
1 parent baf7e5d commit 88ae49e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
-->
<PropertyGroup Condition="'$(TargetsNet7)' == 'true' and '$(RuntimeIdentifier)' == 'browser-wasm'">
<WasmNativeWorkload Condition="'$(WasmNativeWorkload7)' == 'true' and '$(WasmNativeWorkload)' != 'false'">true</WasmNativeWorkload>
<WasmNativeWorkload Condition="'$(WasmNativeWorkload7)' != 'true'">false</WasmNativeWorkload>
</PropertyGroup>

<PropertyGroup Condition="'$(TargetsNet7)' == 'true' and '$(RuntimeIdentifier)' == 'browser-wasm' AND '$(UsingBrowserRuntimeWorkload)' == ''">
Expand Down

0 comments on commit 88ae49e

Please sign in to comment.