Skip to content

Commit ec3d395

Browse files
authored
Inline platform package version (#48230)
* Inline platform package version The platform package version doesn't need to be defined centrally anymore.
1 parent 5bc44d9 commit ec3d395

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

eng/packaging.props

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@
1111
<!-- We're currently not building a "live" baseline, instead we're using .NETCore 1.0 RTM stable versions as the baseline -->
1212
<SkipBaseLineCheck>true</SkipBaseLineCheck>
1313
<PackageVersion Condition="'$(PackageVersion)' == ''">6.0.0</PackageVersion>
14-
<!-- major.minor.release version of the platforms package we're currently building
15-
Pre-release will be appended during build -->
16-
<PlatformPackageVersion>$(ProductVersion)</PlatformPackageVersion>
1714
<SkipValidatePackageTargetFramework>true</SkipValidatePackageTargetFramework>
1815
<SkipGenerationCheck>true</SkipGenerationCheck>
1916
</PropertyGroup>

src/libraries/Microsoft.NETCore.Platforms/pkg/Microsoft.NETCore.Platforms.pkgproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project DefaultTargets="Build">
22
<Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props))" />
33
<PropertyGroup>
4-
<PackageVersion>$(PlatformPackageVersion)</PackageVersion>
4+
<PackageVersion>$(ProductVersion)</PackageVersion>
55
<SkipValidatePackage>true</SkipValidatePackage>
66
<!-- We don't need to harvest the stable packages to build this -->
77
<HarvestStablePackage>false</HarvestStablePackage>

0 commit comments

Comments
 (0)