Skip to content

Commit 4969901

Browse files
committed
Add package ref at compile time not SDK build time
Signed-off-by: James Sturtevant <jsturtevant@gmail.com>
1 parent dcb3c1d commit 4969901

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

src/WasmComponent.Sdk/ImportInDev.proj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,5 @@
66
<Import Project="../WitBindgen/ImportInDev.proj" />
77

88
<ItemGroup>
9-
<PackageReference Include="Microsoft.DotNet.ILCompiler.LLVM" />
10-
<PackageReference Include="runtime.$(NETCoreSdkPortableRuntimeIdentifier).Microsoft.DotNet.ILCompiler.LLVM" />
119
</ItemGroup>
1210
</Project>

src/WasmComponent.Sdk/WasmComponent.Sdk.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@
3131
</PropertyGroup>
3232

3333
<ItemGroup>
34-
<PackageReference Include="Microsoft.DotNet.ILCompiler.LLVM" PrivateAssets="None" />
35-
<PackageReference Include="runtime.$(NETCoreSdkPortableRuntimeIdentifier).Microsoft.DotNet.ILCompiler.LLVM" PrivateAssets="None" />
3634
<ProjectReference Include="..\WitBindgen\WitBindgen.csproj" PrivateAssets="None" />
3735
</ItemGroup>
3836

src/WasmComponent.Sdk/build/BytecodeAlliance.Componentize.DotNet.Wasm.SDK.props

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,9 @@
1111
<WasmToolsExe>$(MSBuildThisFileDirectory)..\tools\$(WasmToolsTarget)\wasm-tools</WasmToolsExe>
1212
<WasmToolsExe Condition="$([MSBuild]::IsOSPlatform('Windows'))">$(WasmToolsExe).exe</WasmToolsExe>
1313
</PropertyGroup>
14+
15+
<ItemGroup>
16+
<PackageReference Include="Microsoft.DotNet.ILCompiler.LLVM" PrivateAssets="None" />
17+
<PackageReference Include="runtime.$(NETCoreSdkPortableRuntimeIdentifier).Microsoft.DotNet.ILCompiler.LLVM" PrivateAssets="None" />
18+
</ItemGroup>
1419
</Project>

0 commit comments

Comments
 (0)