From 75356a3858b1dd093571cb5ad9d6324c1682ad86 Mon Sep 17 00:00:00 2001 From: Theodore Tsirpanis Date: Sun, 8 Dec 2024 00:05:11 +0200 Subject: [PATCH 1/2] Make private runtime-only dependencies on .NET Standard 2.0. --- src/Framework/Microsoft.Build.Framework.csproj | 5 ----- src/Tasks/Microsoft.Build.Tasks.csproj | 18 +++++++++++++----- src/Utilities/Microsoft.Build.Utilities.csproj | 7 ++++++- 3 files changed, 19 insertions(+), 11 deletions(-) diff --git a/src/Framework/Microsoft.Build.Framework.csproj b/src/Framework/Microsoft.Build.Framework.csproj index 736cccac2f1..851ea6f34c8 100644 --- a/src/Framework/Microsoft.Build.Framework.csproj +++ b/src/Framework/Microsoft.Build.Framework.csproj @@ -24,11 +24,6 @@ - - - - - Shared\Constants.cs diff --git a/src/Tasks/Microsoft.Build.Tasks.csproj b/src/Tasks/Microsoft.Build.Tasks.csproj index 9c4db39cb77..18a384ef6bf 100644 --- a/src/Tasks/Microsoft.Build.Tasks.csproj +++ b/src/Tasks/Microsoft.Build.Tasks.csproj @@ -694,11 +694,6 @@ - - - - - @@ -707,6 +702,19 @@ + + + + + + + + + + + + + - + + + + + From 60122d6671adaa41a1d633e92c807fbd6ebf91b9 Mon Sep 17 00:00:00 2001 From: Theodore Tsirpanis Date: Sun, 8 Dec 2024 00:38:27 +0200 Subject: [PATCH 2/2] Move `MS.CA.Collections` dependency to `Build`. The reference to immutable collections is surfaced to `Framework`. This lightens the NS2.0 reference assembly. --- src/Build/Microsoft.Build.csproj | 3 ++- src/Framework/Microsoft.Build.Framework.csproj | 10 ++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/Build/Microsoft.Build.csproj b/src/Build/Microsoft.Build.csproj index 2f6a8ee8a5a..a28ffe88cfd 100644 --- a/src/Build/Microsoft.Build.csproj +++ b/src/Build/Microsoft.Build.csproj @@ -37,9 +37,10 @@ + - + diff --git a/src/Framework/Microsoft.Build.Framework.csproj b/src/Framework/Microsoft.Build.Framework.csproj index 851ea6f34c8..71087b805ca 100644 --- a/src/Framework/Microsoft.Build.Framework.csproj +++ b/src/Framework/Microsoft.Build.Framework.csproj @@ -13,17 +13,19 @@ true - - - - + + + + + + Shared\Constants.cs