Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnirudh Agnihotry <anirudhagnihotry098@gmail.com>2021-01-06 09:42:47 +0300
committerGitHub <noreply@github.com>2021-01-06 09:42:47 +0300
commitdd3da2b5e8d4655414f8b6fbe3a97fbe0f8ee8af (patch)
treee209fb56101ca95d08b180685c3ea463f2608863 /Directory.Build.props
parent9053d5d9c77bdba118317044bb9ead893149c66c (diff)
set BuildingInsideOfficialBuild (#46615)
Diffstat (limited to 'Directory.Build.props')
-rw-r--r--Directory.Build.props4
1 files changed, 4 insertions, 0 deletions
diff --git a/Directory.Build.props b/Directory.Build.props
index b2e27af4fcb..38fcec3e0c9 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -3,6 +3,10 @@
<!-- For non-SDK projects that import this file and then import Microsoft.Common.props,
tell Microsoft.Common.props not to import Directory.Build.props again. -->
<ImportDirectoryBuildProps>false</ImportDirectoryBuildProps>
+ <!-- Used to determine if we should build some packages only once across multiple official build legs.
+ For offline builds we still set OfficialBuildId but we need to build all the packages for a single
+ leg only, so we also take DotNetBuildFromSource into account. -->
+ <BuildingAnOfficialBuildLeg Condition="'$(BuildingAnOfficialBuildLeg)' == '' and '$(OfficialBuildId)' != '' and '$(DotNetBuildFromSource)' != 'true'">true</BuildingAnOfficialBuildLeg>
</PropertyGroup>
<PropertyGroup Label="CalculateTargetOS">