Skip to content

Commit

Permalink
More 32-bit build system support.
Browse files Browse the repository at this point in the history
Part of #5.
  • Loading branch information
alexrp committed Jul 5, 2022
1 parent 1a194ce commit 5d17e92
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
Version="2.9.7" />
<PackageVersion Include="runtime.win-x64.Microsoft.NETCore.DotNetAppHost"
Version="7.0.0-preview.5.22301.12" />
<PackageVersion Include="runtime.win-x86.Microsoft.NETCore.DotNetAppHost"
Version="7.0.0-preview.5.22301.12" />
<PackageVersion Include="StyleCop.Analyzers"
Version="1.2.0-beta.406" />
</ItemGroup>
Expand Down
6 changes: 5 additions & 1 deletion src/module/module.cproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
TODO: Switch to this in .NET 7 Preview 7.

<PropertyGroup>
<_AppHostPackageNative>$(Pkgruntime_win-x64_Microsoft_NETCore_DotNetAppHost)/runtimes/$(RuntimeIdentifier)/native/</_AppHostPackageNative>
<_AppHostPackage Condition="'$(RuntimeIdentifier)' == 'win-x86'">$(Pkgruntime_win-x86_Microsoft_NETCore_DotNetAppHost)/</_AppHostPackage>
<_AppHostPackage Condition="'$(RuntimeIdentifier)' == 'win-x64'">$(Pkgruntime_win-x64_Microsoft_NETCore_DotNetAppHost)/</_AppHostPackage>
<_AppHostPackageNative>$(_AppHostPackage)runtimes/$(RuntimeIdentifier)/native/</_AppHostPackageNative>
</PropertyGroup>

<ItemGroup>
Expand All @@ -46,6 +48,8 @@
<ItemGroup>
<PackageReference Include="runtime.win-x64.Microsoft.NETCore.DotNetAppHost"
GeneratePathProperty="true" />
<PackageReference Include="runtime.win-x86.Microsoft.NETCore.DotNetAppHost"
GeneratePathProperty="true" />
</ItemGroup>
-->
</Project>

0 comments on commit 5d17e92

Please sign in to comment.