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

Commit 2fa470f

Browse files
committed
Disable package harvesting for the vertical build packages
Microsoft.NETCore.Platforms and Microsoft.NETCore.Targets don't need to harvest anything so disabing stable package harvesting for them so we don't need to restore all the old stable packages for the vertical builds.
1 parent 4725b94 commit 2fa470f

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

pkg/Microsoft.NETCore.Platforms/Microsoft.NETCore.Platforms.pkgproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
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-
4+
55
<PropertyGroup>
66
<PackageVersion>$(PlatformPackageVersion)</PackageVersion>
77
<SkipValidatePackage>true</SkipValidatePackage>
8+
<!-- We don't need to harvest the stable packages to build this -->
9+
<HarvestStablePackage>false</HarvestStablePackage>
810
</PropertyGroup>
9-
11+
1012
<ItemGroup>
1113
<File Include="runtime.json" />
1214
<!-- make this package installable and noop in a packages.config-based project -->

pkg/Microsoft.NETCore.Targets/Microsoft.NETCore.Targets.pkgproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
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-
4+
55
<PropertyGroup>
66
<PackageVersion>2.0.0</PackageVersion>
77
<SkipValidatePackage>true</SkipValidatePackage>
8+
<!-- We don't need to harvest the stable packages to build this -->
9+
<HarvestStablePackage>false</HarvestStablePackage>
810
</PropertyGroup>
911

1012
<ItemGroup>

0 commit comments

Comments
 (0)