Skip to content

Commit 1604e97

Browse files
authored
Condition installers correctly
1 parent 8f18412 commit 1604e97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@
222222
<_WixTargetPlatform Condition="'$(TargetArchitecture)' == 'x64' ">x64</_WixTargetPlatform>
223223
<_WixTargetPlatform Condition="'$(TargetArchitecture)' == 'arm64' ">ARM64</_WixTargetPlatform>
224224
</PropertyGroup>
225+
225226
<ItemGroup Condition="'$(DotNetBuild)' != 'true' and '$(_BuildWindowsInstallers)' == 'true' ">
226227
<!-- Build the ANCM custom action -->
227228
<InstallerProject Include="$(RepoRoot)src\Installers\Windows\AspNetCoreModule-Setup\CustomAction\aspnetcoreCA.vcxproj" AdditionalProperties="Platform=x64" />
@@ -286,7 +287,6 @@
286287

287288
<ItemGroup>
288289
<ProjectToBuild Condition=" '$(BuildInstallers)' == 'true'" Include="@(InstallerProject)" Exclude="@(ProjectToExclude)" BuildStep="4" />
289-
<ProjectToExclude Condition=" '$(BuildInstallers)' != 'true'" Include="@(InstallerProject)" />
290290
</ItemGroup>
291291
</Otherwise>
292292
</Choose>

0 commit comments

Comments
 (0)