Skip to content

Commit ca44b0d

Browse files
authored
Fix the case where net6 AutoImports sets WasmNativeWorkload true and emsdk turns that into requiring the workload (#81390)
1 parent 0512a92 commit ca44b0d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mono/nuget/Microsoft.NET.Workload.Mono.Toolchain.net7.Manifest/WorkloadManifest.targets.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
-->
1919
<PropertyGroup Condition="'$(TargetsNet7)' == 'true' and '$(RuntimeIdentifier)' == 'browser-wasm'">
2020
<WasmNativeWorkload Condition="'$(WasmNativeWorkload7)' == 'true' and '$(WasmNativeWorkload)' != 'false'">true</WasmNativeWorkload>
21+
<WasmNativeWorkload Condition="'$(WasmNativeWorkload7)' != 'true'">false</WasmNativeWorkload>
2122
</PropertyGroup>
2223

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

0 commit comments

Comments
 (0)