Skip to content

Commit 68c065f

Browse files
committed
Only build x86 early
1 parent 7587e94 commit 68c065f

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

eng/Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@
286286
In a vertical build, only build the MSIs for the current vertical that aren't used in the hosting bundle in the first pass
287287
and build the hosting bundle and its dependencies in the second pass.
288288
-->
289-
<ItemGroup Condition="'$(DotNetBuild)' == 'true' and ('$(DotNetBuildPass)' == '' or '$(DotNetBuildPass)' == '1') and '$(_BuildWindowsInstallers)' == 'true' and '$(TargetArchitecture)' != 'arm64'" >
289+
<ItemGroup Condition="'$(DotNetBuild)' == 'true' and ('$(DotNetBuildPass)' == '' or '$(DotNetBuildPass)' == '1') and '$(_BuildWindowsInstallers)' == 'true' and '$(TargetArchitecture)' == 'x86'" >
290290
<InstallerProject Include="$(RepoRoot)src\Installers\Windows\AspNetCoreModule-Setup\ANCMIISExpressV2\AncmIISExpressV2.wixproj" AdditionalProperties="Platform=$(TargetArchitecture)" />
291291
</ItemGroup>
292292

src/Installers/Windows/WindowsHostingBundle/WindowsHostingBundle.wixproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@
7272
</ItemGroup>
7373

7474
<ItemGroup Condition="'$(DotNetBuild)' == 'true'" >
75+
<ProjectReference Include="..\AspNetCoreModule-Setup\ANCMIISExpressV2\AncmIISExpressV2.wixproj">
76+
<SetPlatform>Platform=x86</SetPlatform>
77+
<Name>AspNetCoreModuleV2IISExpress_x86</Name>
78+
<Private>True</Private>
79+
<DoNotHarvest>true</DoNotHarvest>
80+
</ProjectReference>
7581
<ProjectReference Include="..\AspNetCoreModule-Setup\ANCMIISExpressV2\AncmIISExpressV2.wixproj">
7682
<SetPlatform>Platform=arm64</SetPlatform>
7783
<Name>AspNetCoreModuleV2IISExpress_arm64</Name>

0 commit comments

Comments
 (0)