diff options
author | Wes Haggard <Wes.Haggard@microsoft.com> | 2018-03-29 20:56:26 +0300 |
---|---|---|
committer | Wes Haggard <Wes.Haggard@microsoft.com> | 2018-03-29 20:56:26 +0300 |
commit | 4203d9475315b862ba57320c327a2dd6484505d6 (patch) | |
tree | 27c5535032f9ebfcea348cf916ce41b5525a1270 /pkg/dir.traversal.targets | |
parent | 11051c39de5e24350e643e193b94eefed00aa142 (diff) |
Account for source-build in our package build filtering
We need to account for source-build which sets the
OfficialBuildId property to replicate the official builds,
so we also look at the DotNetBuildOffline property to
determine that we should still build the all the packages.
Diffstat (limited to 'pkg/dir.traversal.targets')
-rw-r--r-- | pkg/dir.traversal.targets | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/dir.traversal.targets b/pkg/dir.traversal.targets index 049c8546b5..2e651cb389 100644 --- a/pkg/dir.traversal.targets +++ b/pkg/dir.traversal.targets @@ -2,8 +2,8 @@ <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Import Project="..\dir.traversal.targets" /> - - <PropertyGroup Condition="'$(OfficialBuildId)' != ''"> + + <PropertyGroup Condition="'$(BuildingAnOfficialBuildLeg)' == 'true'"> <!-- During an official build, only build identity packages in the AllConfigurations build --> <SkipBuildIdentityPackage Condition="'$(BuildAllConfigurations)' != 'true'">true</SkipBuildIdentityPackage> |