Inline platform package version (#48230)
authorViktor Hofer <viktor.hofer@microsoft.com>
Fri, 12 Feb 2021 20:27:33 +0000 (21:27 +0100)
committerGitHub <noreply@github.com>
Fri, 12 Feb 2021 20:27:33 +0000 (21:27 +0100)
* Inline platform package version

The platform package version doesn't need to be defined centrally anymore.

eng/packaging.props
src/libraries/Microsoft.NETCore.Platforms/pkg/Microsoft.NETCore.Platforms.pkgproj

index 07c8426..754c7b5 100644 (file)
@@ -11,9 +11,6 @@
     <!-- We're currently not building a "live" baseline, instead we're using .NETCore 1.0 RTM stable versions as the baseline -->
     <SkipBaseLineCheck>true</SkipBaseLineCheck>
     <PackageVersion Condition="'$(PackageVersion)' == ''">6.0.0</PackageVersion>
-    <!-- major.minor.release version of the platforms package we're currently building
-         Pre-release will be appended during build -->
-    <PlatformPackageVersion>$(ProductVersion)</PlatformPackageVersion>
     <SkipValidatePackageTargetFramework>true</SkipValidatePackageTargetFramework>
     <SkipGenerationCheck>true</SkipGenerationCheck>
   </PropertyGroup>
index dc797d8..a3c60cf 100644 (file)
@@ -1,7 +1,7 @@
 <Project DefaultTargets="Build">
   <Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props))" />
   <PropertyGroup>
-    <PackageVersion>$(PlatformPackageVersion)</PackageVersion>
+    <PackageVersion>$(ProductVersion)</PackageVersion>
     <SkipValidatePackage>true</SkipValidatePackage>
     <!-- We don't need to harvest the stable packages to build this -->
     <HarvestStablePackage>false</HarvestStablePackage>