This repository was archived by the owner on Jan 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +14
-7
lines changed
Microsoft.NETCore.Platforms
Microsoft.NETCore.Targets Expand file tree Collapse file tree 4 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<Project ToolsVersion =" 14.0" DefaultTargets =" Build" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
33 <Import Project =" $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
4- <ItemGroup Condition =" '$(OfficialBuildId )' == ' ' Or '$(BuildAllConfigurations)' == 'true'" >
4+ <ItemGroup Condition =" '$(BuildingAnOfficialBuildLeg )' != 'true ' Or '$(BuildAllConfigurations)' == 'true'" >
55 <Project Include =" Microsoft.NETCore.Platforms.pkgproj" />
66 </ItemGroup >
77 <Import Project =" $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.traversal.targets))\dir.traversal.targets" />
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<Project ToolsVersion =" 14.0" DefaultTargets =" Build" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
33 <Import Project =" $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
4- <ItemGroup Condition =" '$(OfficialBuildId )' == ' ' Or '$(BuildAllConfigurations)' == 'true'" >
4+ <ItemGroup Condition =" '$(BuildingAnOfficialBuildLeg )' != 'true ' Or '$(BuildAllConfigurations)' == 'true'" >
55 <Project Include =" Microsoft.NETCore.Targets.pkgproj" />
66 </ItemGroup >
77 <Import Project =" $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.traversal.targets))\dir.traversal.targets" />
Original file line number Diff line number Diff line change 22<Project xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
33 <Import Project =" ..\dir.props" />
44
5+ <PropertyGroup >
6+ <!-- Used to determine if we should build some packages only once across multiple official build legs.
7+ For offline builds we still set OfficialBuildId but we need to build all the packages for a single
8+ leg only, so we also take DotNetBuildOffline into account. -->
9+ <BuildingAnOfficialBuildLeg Condition =" '$(BuildingAnOfficialBuildLeg)' == '' AND '$(OfficialBuildId)' != '' AND '$(DotNetBuildOffline)' != 'true'" >true</BuildingAnOfficialBuildLeg >
10+ </PropertyGroup >
11+
512 <!-- Packages opt-in to automatic RID-specific builds by placing a *.RID.props next to their project
613 that defines the OfficialBuildRID item: all RIDs targeted by the package -->
714 <Import Project =" $(MSBuildProjectDirectory)\*.rids.props" />
1623 </BuildRID >
1724 </ItemGroup >
1825
19- <!-- create the "Project" item which is the current $(MSBuildProjectName).pkgproj with meta-data for all
26+ <!-- create the "Project" item which is the current $(MSBuildProjectName).pkgproj with meta-data for all
2027 supported RIDs -->
2128 <ItemGroup >
2229 <_project Include =" @(BuildRID)" >
4855 <AdditionalLibPackageExcludes Condition =" '$(SymbolFileExtension)' != ''" Include =" %2A%2A\%2A$(SymbolFileExtension)" />
4956 <AdditionalSymbolPackageExcludes Condition =" '$(LibraryFileExtension)' != ''" Include =" %2A%2A\%2A.a;%2A%2A\%2A$(LibraryFileExtension)" />
5057 </ItemGroup >
51-
58+
5259 <PropertyGroup >
5360 <!-- BlockStable on private packages by default -->
5461 <BlockStable Condition =" '$(BlockStable)' == '' and $(MSBuildProjectName.Contains('Private'))" >true</BlockStable >
5562 </PropertyGroup >
56-
63+
5764</Project >
Original file line number Diff line number Diff line change 22<Project xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
33
44 <Import Project =" ..\dir.traversal.targets" />
5-
6- <PropertyGroup Condition =" '$(OfficialBuildId )' != ' '" >
5+
6+ <PropertyGroup Condition =" '$(BuildingAnOfficialBuildLeg )' == 'true '" >
77 <!-- During an official build, only build identity packages in the AllConfigurations build -->
88 <SkipBuildIdentityPackage Condition =" '$(BuildAllConfigurations)' != 'true'" >true</SkipBuildIdentityPackage >
99
You can’t perform that action at this time.
0 commit comments