File tree Expand file tree Collapse file tree 4 files changed +11
-14
lines changed
Expand file tree Collapse file tree 4 files changed +11
-14
lines changed Original file line number Diff line number Diff line change 5858
5959 <Import Project =" eng\Baseline.Designer.props" />
6060
61- <PropertyGroup Condition =" '$(IsPackable)' != 'false' AND '$(AspNetCorePatchVersion)' != '0' " >
62- <!--
63- Build entire repo while we settle the infrastructure; ignore PatchConfig.props.
64- Do _not_ do this when stabilizing versions.
65- -->
66- <IsPackageInThisPatch
67- Condition =" '$(IsPackageInThisPatch)' == '' AND '$(StabilizePackageVersion)' != 'true'" >true</IsPackageInThisPatch >
61+ <PropertyGroup
62+ Condition =" '$(IsPackable)' != 'false' AND '$(AspNetCorePatchVersion)' != '0' AND '$(DisableServicingFeatures)' != 'true' " >
6863 <IsPackageInThisPatch Condition =" '$(IsPackageInThisPatch)' == ''" >$(PackagesInPatch.Contains(' $(PackageId);'))</IsPackageInThisPatch >
6964 </PropertyGroup >
7065
Original file line number Diff line number Diff line change 2727 <!-- Additional assembly attributes are already configured to include the source revision ID. -->
2828 <IncludeSourceRevisionInInformationalVersion >false</IncludeSourceRevisionInInformationalVersion >
2929 <!--
30- Until package baselines are updated (see aspnet/AspNetCore#12702), ignore them.
31- Do _not_ do this when stabilizing versions.
30+ Until package baselines are updated (see aspnet/AspNetCore#12702), ignore them and PatchConfig.props. This also
31+ gives us time to build the entire repo and settle the infrastructure. Do _not_ do this when stabilizing versions.
3232 -->
33- <IgnorePackageBaselines Condition =" '$(StabilizePackageVersion)' != 'true' " >true</IgnorePackageBaselines >
33+ <DisableServicingFeatures
34+ Condition =" '$(DisableServicingFeatures)' == '' AND '$(StabilizePackageVersion)' != 'true' " >true</DisableServicingFeatures >
3435 <!-- Servicing builds have different characteristics for the way dependencies, baselines, and versions are handled. -->
35- <IsServicingBuild Condition =" '$(PreReleaseVersionLabel)' == 'servicing' " >true</IsServicingBuild >
36+ <IsServicingBuild
37+ Condition =" '$(DisableServicingFeatures)' != 'true' AND '$(PreReleaseVersionLabel)' == 'servicing' " >true</IsServicingBuild >
3638 <VersionPrefix >$(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion).$(AspNetCorePatchVersion)</VersionPrefix >
3739 <!-- TargetingPackVersionPrefix is used by projects, like .deb and .rpm, which use slightly different version formats. -->
3840 <TargetingPackVersionPrefix >$(VersionPrefix)</TargetingPackVersionPrefix >
Original file line number Diff line number Diff line change 11<Project >
22
33 <Target Name =" EnsureBaselineIsUpdated"
4- Condition =" '$(IsServicingBuild)' == 'true' AND '$(IgnorePackageBaselines)' != 'true' AND '$( AspNetCoreBaselineVersion)' != '$(PreviousAspNetCoreReleaseVersion)'"
4+ Condition =" '$(IsServicingBuild)' == 'true' AND '$(AspNetCoreBaselineVersion)' != '$(PreviousAspNetCoreReleaseVersion)'"
55 BeforeTargets =" BeforeBuild" >
66 <Error Text =" The package baseline ($(AspNetCoreBaselineVersion)) is out of date with the latest release of this repo ($(PreviousAspNetCoreReleaseVersion)).
77 See $(RepoRoot)eng\tools\BaselineGenerator\README.md for instructions on updating this baseline." />
Original file line number Diff line number Diff line change 3636 -->
3737 <UseLatestPackageReferences Condition =" '$(UseLatestPackageReferences)' == '' AND '$(IsServicingBuild)' != 'true' " >true</UseLatestPackageReferences >
3838 <UseLatestPackageReferences Condition =" '$(UseLatestPackageReferences)' == '' AND '$(IsImplementationProject)' != 'true' " >true</UseLatestPackageReferences >
39- <UseLatestPackageReferences Condition =" '$(UseLatestPackageReferences)' == '' AND '$(IsImplementationProject)' == 'true' AND ( '$(IsServicingBuild)' != 'true' OR '$(IsPackable)' == 'true' ) " >true</UseLatestPackageReferences >
39+ <UseLatestPackageReferences
40+ Condition =" '$(UseLatestPackageReferences)' == '' AND '$(IsImplementationProject)' == 'true' AND '$(IsPackable)' == 'true' " >true</UseLatestPackageReferences >
4041 <UseLatestPackageReferences Condition =" '$(UseLatestPackageReferences)' == '' " >false</UseLatestPackageReferences >
4142
4243 <!--
4546 * when a project is a test or sample project
4647 We don't use project references between components in servicing builds between compontents to preserve the baseline as much as possible.
4748 -->
48- <UseProjectReferences Condition =" '$(UseProjectReferences)' == '' AND '$(IgnorePackageBaselines)' == 'true' " >true</UseProjectReferences >
4949 <UseProjectReferences Condition =" '$(UseProjectReferences)' == '' AND '$(IsServicingBuild)' != 'true' " >true</UseProjectReferences >
5050 <UseProjectReferences Condition =" '$(UseProjectReferences)' == '' AND '$(IsImplementationProject)' != 'true' " >true</UseProjectReferences >
5151 <UseProjectReferences Condition =" '$(UseProjectReferences)' == '' " >false</UseProjectReferences >
You can’t perform that action at this time.
0 commit comments