Skip to content

Commit 5d17e92

Browse files
committed
More 32-bit build system support.
Part of #5.
1 parent 1a194ce commit 5d17e92

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Directory.Packages.props

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
Version="2.9.7" />
2121
<PackageVersion Include="runtime.win-x64.Microsoft.NETCore.DotNetAppHost"
2222
Version="7.0.0-preview.5.22301.12" />
23+
<PackageVersion Include="runtime.win-x86.Microsoft.NETCore.DotNetAppHost"
24+
Version="7.0.0-preview.5.22301.12" />
2325
<PackageVersion Include="StyleCop.Analyzers"
2426
Version="1.2.0-beta.406" />
2527
</ItemGroup>

src/module/module.cproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@
3232
TODO: Switch to this in .NET 7 Preview 7.
3333

3434
<PropertyGroup>
35-
<_AppHostPackageNative>$(Pkgruntime_win-x64_Microsoft_NETCore_DotNetAppHost)/runtimes/$(RuntimeIdentifier)/native/</_AppHostPackageNative>
35+
<_AppHostPackage Condition="'$(RuntimeIdentifier)' == 'win-x86'">$(Pkgruntime_win-x86_Microsoft_NETCore_DotNetAppHost)/</_AppHostPackage>
36+
<_AppHostPackage Condition="'$(RuntimeIdentifier)' == 'win-x64'">$(Pkgruntime_win-x64_Microsoft_NETCore_DotNetAppHost)/</_AppHostPackage>
37+
<_AppHostPackageNative>$(_AppHostPackage)runtimes/$(RuntimeIdentifier)/native/</_AppHostPackageNative>
3638
</PropertyGroup>
3739

3840
<ItemGroup>
@@ -46,6 +48,8 @@
4648
<ItemGroup>
4749
<PackageReference Include="runtime.win-x64.Microsoft.NETCore.DotNetAppHost"
4850
GeneratePathProperty="true" />
51+
<PackageReference Include="runtime.win-x86.Microsoft.NETCore.DotNetAppHost"
52+
GeneratePathProperty="true" />
4953
</ItemGroup>
5054
-->
5155
</Project>

0 commit comments

Comments
 (0)