From ee7f14215729e2a26ec2549a63b956a42ef1692c Mon Sep 17 00:00:00 2001 From: Eric StJohn Date: Mon, 22 Nov 2021 12:00:38 -0800 Subject: [PATCH] Don't special case "Experimental" projects (#60641) * Don't special case "Experimental" projects We only have one experimental project, System.Runtime.Experimental and we want it to behave like any other package. * Make coreclr packages use `IsShipping` --- Directory.Build.props | 8 +++----- src/coreclr/.nuget/Directory.Build.props | 4 ---- src/coreclr/.nuget/Directory.Build.targets | 8 ++++++++ .../ILCompiler.Reflection.ReadyToRun.Experimental.pkgproj | 1 + .../Microsoft.CrossOsDiag.Private.CoreCLR.pkgproj | 1 + 5 files changed, 13 insertions(+), 9 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index d98ec2029754f..10a7c114340a5 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -266,13 +266,11 @@ true - $(MSBuildProjectName.Contains('Experimental')) $(MSBuildProjectName.Contains('Private')) - - true - false + + true - false + false $(RepositoryEngineeringDir)_._ diff --git a/src/coreclr/.nuget/Directory.Build.props b/src/coreclr/.nuget/Directory.Build.props index ad18679d42d5b..16c84169f75b3 100644 --- a/src/coreclr/.nuget/Directory.Build.props +++ b/src/coreclr/.nuget/Directory.Build.props @@ -16,10 +16,6 @@ true - - - 7.0.0 - $(PackageVersion) diff --git a/src/coreclr/.nuget/Directory.Build.targets b/src/coreclr/.nuget/Directory.Build.targets index 365d5ed7a9ca6..687a6f4025310 100644 --- a/src/coreclr/.nuget/Directory.Build.targets +++ b/src/coreclr/.nuget/Directory.Build.targets @@ -1,5 +1,13 @@ + + + + $(ProductVersion) + $(PackageVersion) + + +