Update experimental IsShipping and block stable properties (dotnet/corefx#41513)
authorSantiago Fernandez Madero <safern@microsoft.com>
Thu, 3 Oct 2019 16:26:07 +0000 (09:26 -0700)
committerGitHub <noreply@github.com>
Thu, 3 Oct 2019 16:26:07 +0000 (09:26 -0700)
Commit migrated from https://github.com/dotnet/corefx/commit/d217998bc5a3dfdc21ae22dd6161ea6c8f71f30c

src/libraries/System.Numerics.Tensors/Directory.Build.props
src/libraries/System.Numerics.Tensors/pkg/System.Numerics.Tensors.pkgproj
src/libraries/System.Runtime.Intrinsics.Experimental/Directory.Build.props
src/libraries/System.Utf8String.Experimental/Directory.Build.props
src/libraries/pkg/Directory.Build.props
src/libraries/pkg/baseline/baseline.props

index a886aa0..aacaa60 100644 (file)
@@ -5,6 +5,7 @@
     <AssemblyVersion>0.2.0.0</AssemblyVersion>
     <StrongNameKeyId>Open</StrongNameKeyId>
     <!-- This is a preview package. Do not mark as stable. -->
-    <BlockStable>true</BlockStable>
+    <SuppressFinalPackageVersion>true</SuppressFinalPackageVersion>
+    <IsShippingAssembly>false</IsShippingAssembly>
   </PropertyGroup>
 </Project>
index b4daebf..2c6b5cb 100644 (file)
@@ -3,7 +3,6 @@
   <PropertyGroup>
     <!-- we need to be supported on pre-nuget-3 platforms (Dev12, Dev11, etc) -->
     <MinClientVersion>2.8.6</MinClientVersion>
-    <IsShipping>false</IsShipping>
   </PropertyGroup>
   <ItemGroup>
     <!-- We don't include the reference project for two reasons:
index 6ca7a37..aa74bf5 100644 (file)
@@ -2,8 +2,6 @@
   <Import Project="..\Directory.Build.props" />
   <PropertyGroup>
     <AssemblyVersion>4.0.0.0</AssemblyVersion>
-    <!-- DO NOT ship this as stable. It contains preview-only APIs that will be stable in a future version. -->
-    <BlockStable>true</BlockStable>
     <StrongNameKeyId>Open</StrongNameKeyId>
   </PropertyGroup>
 </Project>
index 25e3ba2..ce26045 100644 (file)
@@ -5,7 +5,5 @@
     <AssemblyVersion>4.0.0.0</AssemblyVersion>
     <!-- System.Memory uses the Open key, so we will also. -->
     <StrongNameKeyId>Open</StrongNameKeyId>
-    <!-- This is a preview package. Do not ship as stable. -->
-    <BlockStable>true</BlockStable>
   </PropertyGroup>
 </Project>
index 972590c..84d827d 100644 (file)
@@ -56,8 +56,8 @@
   </ItemGroup>
 
   <PropertyGroup>
-    <!-- BlockStable on private packages by default -->
-    <BlockStable Condition="'$(BlockStable)' == '' and $(MSBuildProjectName.Contains('Private'))">true</BlockStable>
+    <!-- SuppressFinalPackageVersion on private packages by default -->
+    <SuppressFinalPackageVersion Condition="'$(SuppressFinalPackageVersion)' == '' and $(MSBuildProjectName.Contains('Private'))">true</SuppressFinalPackageVersion>
   </PropertyGroup>
 
 </Project>
index a496dfa..c95c187 100644 (file)
@@ -11,7 +11,7 @@
     Below targets should moved to packaging.targets in BuildTools but keeping in corefx for convenience right now
   -->
 
-  <Target Name="BlockStable" Condition="'$(BlockStable)' == 'true'" AfterTargets="CalculatePackageVersion">
+  <Target Name="BlockStable" Condition="'$(SuppressFinalPackageVersion)' == 'true'" AfterTargets="CalculatePackageVersion">
     <!-- DO NOT ship this packages as stable -->
     <Error Condition="!$(PackageVersion.Contains('-'))" Text="Package $(Id) should not be built stable" />
   </Target>
@@ -20,7 +20,7 @@
   <Target Name="GetPackageIdentityIfStable"
           Returns="@(_StablePackageIdentity)">
 
-    <ItemGroup Condition="'$(BlockStable)' != 'true'">
+    <ItemGroup Condition="'$(SuppressFinalPackageVersion)' != 'true'">
       <_StablePackageIdentity Include="$(Id)">
         <Version>$(PackageVersion)</Version>
       </_StablePackageIdentity>