From 40fc71e43e6286f1c12d411da2f50b115f8dbbe5 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 92bcbf935a9c5..2ebd4fca0761f 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -265,13 +265,11 @@ true - $(MSBuildProjectName.Contains('Experimental')) $(MSBuildProjectName.Contains('Private')) - - true - false + + true - false + false $(RepositoryEngineeringDir)_._ From cfa4e9b0d9e38aab207625fc060355a32c07e7cf 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 | 4 ---- src/coreclr/.nuget/Directory.Build.targets | 8 ++++++++ .../ILCompiler.Reflection.ReadyToRun.Experimental.pkgproj | 1 + .../Microsoft.CrossOsDiag.Private.CoreCLR.pkgproj | 1 + 4 files changed, 10 insertions(+), 4 deletions(-) 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) + + +