Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 4ab5c2d

Browse files
authored
Merge pull request #17846 from weshaggard/FixSourceBuild
Switch source build property to DotNetBuildFromSource
2 parents 30b5f0e + 007cff4 commit 4ab5c2d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/.nuget/dir.traversal.targets

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
<PropertyGroup Condition="'$(BuildIdentityPackage)' == ''">
77
<BuildIdentityPackage>true</BuildIdentityPackage>
88

9-
<!-- Used to determine if we should build some packages only once across multiple official build legs.
10-
For offline builds we still set OfficialBuildId but we need to build all the packages for a single
11-
leg only, so we also take DotNetBuildOffline into account. -->
12-
<BuildingAnOfficialBuildLeg Condition="'$(OfficialBuildId)' != '' AND '$(DotNetBuildOffline)' != 'true'">true</BuildingAnOfficialBuildLeg>
9+
<!-- Used to determine if we should build some packages only once across multiple official build legs.
10+
For offline builds we still set OfficialBuildId but we need to build all the packages for a single
11+
leg only, so we also take DotNetBuildFromSource into account. -->
12+
<BuildingAnOfficialBuildLeg Condition="'$(OfficialBuildId)' != '' AND '$(DotNetBuildFromSource)' != 'true'">true</BuildingAnOfficialBuildLeg>
1313

1414
<!-- During an official build, only build identity packages on windows x64 legs -->
1515
<BuildIdentityPackage Condition="'$(BuildingAnOfficialBuildLeg)' == 'true' AND ('$(OS)' != 'Windows_NT' OR '$(BuildArch)' != 'x64')">false</BuildIdentityPackage>
@@ -22,7 +22,7 @@
2222
<ItemGroup>
2323
<_projectsToBuild Include="@(Project)" Condition="'%(Project.PackageTargetRuntime)' == '$(PackageRID)'" />
2424
</ItemGroup>
25-
25+
2626
<ItemGroup Condition="'$(BuildIdentityPackage)' == 'true'">
2727
<_projectsToBuild Include="@(Project)" Condition="'%(Project.PackageTargetRuntime)' == ''" />
2828
</ItemGroup>

0 commit comments

Comments
 (0)