From de0efb6ad4203ae2e5e1ed177352e9271cd78c0b Mon Sep 17 00:00:00 2001 From: Eric StJohn Date: Tue, 19 Oct 2021 10:38:26 -0700 Subject: [PATCH 1/2] 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. --- Directory.Build.props | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index d3e3029c23a6..f19ea9208c2c 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -256,13 +256,11 @@ true - $(MSBuildProjectName.Contains('Experimental')) $(MSBuildProjectName.Contains('Private')) - - true - false + + true - false + false $(RepositoryEngineeringDir)_._ From 15726d380276668cbad1738792074e18b00304ce Mon Sep 17 00:00:00 2001 From: Eric StJohn Date: Tue, 19 Oct 2021 12:43:37 -0700 Subject: [PATCH 2/2] Make coreclr packages use `IsShipping` --- src/coreclr/.nuget/Directory.Build.props | 5 ----- src/coreclr/.nuget/Directory.Build.targets | 8 ++++++++ .../ILCompiler.Reflection.ReadyToRun.Experimental.pkgproj | 1 + .../Microsoft.CrossOsDiag.Private.CoreCLR.pkgproj | 1 + 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/coreclr/.nuget/Directory.Build.props b/src/coreclr/.nuget/Directory.Build.props index 876bcc62a39a..e9351e6c127a 100644 --- a/src/coreclr/.nuget/Directory.Build.props +++ b/src/coreclr/.nuget/Directory.Build.props @@ -16,11 +16,6 @@ true - - - $(ProductVersion) - $(PackageVersion) - diff --git a/src/coreclr/.nuget/Directory.Build.targets b/src/coreclr/.nuget/Directory.Build.targets index 365d5ed7a9ca..687a6f402531 100644 --- a/src/coreclr/.nuget/Directory.Build.targets +++ b/src/coreclr/.nuget/Directory.Build.targets @@ -1,5 +1,13 @@ + + + + $(ProductVersion) + $(PackageVersion) + + +