Skip to content

Commit

Permalink
BlazorWasm: Fix including the target assembly (#21104)
Browse files Browse the repository at this point in the history
Fixes dotnet/runtime#59255 .

(cherry picked from commit f70cf06)
  • Loading branch information
radical committed Sep 27, 2021
1 parent 500db93 commit 1b14a76
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ Copyright (c) .NET Foundation. All rights reserved.
<Target Name="_GatherWasmFilesToBuild">
<ItemGroup>
<WasmAssembliesToBundle Remove="@(WasmAssembliesToBundle)" />
<WasmAssembliesToBundle Include="@(ReferenceCopyLocalPaths);@(MainAssembly)" Condition="'%(ReferenceCopyLocalPaths.Extension)' == '.dll'" />
<WasmAssembliesToBundle Include="@(IntermediateAssembly)" />
<WasmAssembliesToBundle Include="@(ReferenceCopyLocalPaths)" Condition="'%(ReferenceCopyLocalPaths.Extension)' == '.dll'" />
<WasmAssembliesToBundle Condition="'%(WasmAssembliesToBundle.FileName)' == 'Microsoft.JSInterop.WebAssembly'" AOT_InternalForceToInterpret="true" />
</ItemGroup>
</Target>
Expand Down

0 comments on commit 1b14a76

Please sign in to comment.