From 5e5872f5b7d7a5e7eafbd816e8009513a441dfcc Mon Sep 17 00:00:00 2001 From: Viktor Hofer Date: Wed, 21 Apr 2021 16:02:21 +0200 Subject: [PATCH 1/3] Stop harvesting old frameworks in some libraries The removed configurations (few netstandard1.x, portable*, netcore50) of the touched packages aren't built anymore. Instead the already built matching binaries from the latest available packages are redistributed when packaging these libraries. Dropping these assets as the minimum supported set of platforms are ones that support netstandard2.0. For .NET Framework, there's still a net461 configuration present to avoid binding redirect issues. Contributes to #47530 --- .../Microsoft.Win32.Registry.AccessControl.pkgproj | 7 ++----- .../pkg/System.IO.FileSystem.AccessControl.pkgproj | 13 ++----------- .../pkg/System.IO.Pipelines.pkgproj | 4 +++- .../pkg/System.Net.Http.WinHttpHandler.pkgproj | 12 ++---------- .../pkg/System.Reflection.Context.pkgproj | 6 ++++-- .../pkg/System.Security.AccessControl.pkgproj | 7 ++----- .../System.ServiceProcess.ServiceController.pkgproj | 6 ++---- .../pkg/System.Text.Encodings.Web.pkgproj | 11 ++--------- .../pkg/System.Threading.AccessControl.pkgproj | 7 ++----- 9 files changed, 21 insertions(+), 52 deletions(-) diff --git a/src/libraries/Microsoft.Win32.Registry.AccessControl/pkg/Microsoft.Win32.Registry.AccessControl.pkgproj b/src/libraries/Microsoft.Win32.Registry.AccessControl/pkg/Microsoft.Win32.Registry.AccessControl.pkgproj index d69a84b0eb7c88..95a5015b3ce323 100644 --- a/src/libraries/Microsoft.Win32.Registry.AccessControl/pkg/Microsoft.Win32.Registry.AccessControl.pkgproj +++ b/src/libraries/Microsoft.Win32.Registry.AccessControl/pkg/Microsoft.Win32.Registry.AccessControl.pkgproj @@ -5,11 +5,8 @@ net461;uap10.0.16299;netcoreapp2.0;$(AllXamarinFrameworks) - - - netcore50 - - + + \ No newline at end of file diff --git a/src/libraries/System.IO.FileSystem.AccessControl/pkg/System.IO.FileSystem.AccessControl.pkgproj b/src/libraries/System.IO.FileSystem.AccessControl/pkg/System.IO.FileSystem.AccessControl.pkgproj index 5a69857140ef11..f6c16d48b531e8 100644 --- a/src/libraries/System.IO.FileSystem.AccessControl/pkg/System.IO.FileSystem.AccessControl.pkgproj +++ b/src/libraries/System.IO.FileSystem.AccessControl/pkg/System.IO.FileSystem.AccessControl.pkgproj @@ -5,17 +5,8 @@ net461;netcoreapp2.0;uap10.0.16299;$(AllXamarinFrameworks) - - - netcore50 - - - - - + + \ No newline at end of file diff --git a/src/libraries/System.IO.Pipelines/pkg/System.IO.Pipelines.pkgproj b/src/libraries/System.IO.Pipelines/pkg/System.IO.Pipelines.pkgproj index 9b454d0d07b4b5..7d757b9d43e842 100644 --- a/src/libraries/System.IO.Pipelines/pkg/System.IO.Pipelines.pkgproj +++ b/src/libraries/System.IO.Pipelines/pkg/System.IO.Pipelines.pkgproj @@ -10,13 +10,15 @@ net461;netcoreapp2.0;uap10.0.16299;$(AllXamarinFrameworks) - .NETCoreApp + + + diff --git a/src/libraries/System.Net.Http.WinHttpHandler/pkg/System.Net.Http.WinHttpHandler.pkgproj b/src/libraries/System.Net.Http.WinHttpHandler/pkg/System.Net.Http.WinHttpHandler.pkgproj index ecad955acd0fcc..e7c9f897745888 100644 --- a/src/libraries/System.Net.Http.WinHttpHandler/pkg/System.Net.Http.WinHttpHandler.pkgproj +++ b/src/libraries/System.Net.Http.WinHttpHandler/pkg/System.Net.Http.WinHttpHandler.pkgproj @@ -1,19 +1,11 @@  - - net461;netcoreapp2.0;$(AllXamarinFrameworks) - net461;netcoreapp2.0;uap10.0.16299;$(AllXamarinFrameworks) - - + + - - - true - \ No newline at end of file diff --git a/src/libraries/System.Reflection.Context/pkg/System.Reflection.Context.pkgproj b/src/libraries/System.Reflection.Context/pkg/System.Reflection.Context.pkgproj index ba867d6c723a2f..fad71eab5f7235 100644 --- a/src/libraries/System.Reflection.Context/pkg/System.Reflection.Context.pkgproj +++ b/src/libraries/System.Reflection.Context/pkg/System.Reflection.Context.pkgproj @@ -16,8 +16,10 @@ UAP - - + + + true + \ No newline at end of file diff --git a/src/libraries/System.Security.AccessControl/pkg/System.Security.AccessControl.pkgproj b/src/libraries/System.Security.AccessControl/pkg/System.Security.AccessControl.pkgproj index 1ef45f103a6d65..6f398d889dd7fc 100644 --- a/src/libraries/System.Security.AccessControl/pkg/System.Security.AccessControl.pkgproj +++ b/src/libraries/System.Security.AccessControl/pkg/System.Security.AccessControl.pkgproj @@ -5,11 +5,8 @@ net461;netcoreapp2.0;uap10.0.16299;$(AllXamarinFrameworks) - - - netcore50 - - + + \ No newline at end of file diff --git a/src/libraries/System.ServiceProcess.ServiceController/pkg/System.ServiceProcess.ServiceController.pkgproj b/src/libraries/System.ServiceProcess.ServiceController/pkg/System.ServiceProcess.ServiceController.pkgproj index 1ed1fcae402b65..5f06dcd7316c79 100644 --- a/src/libraries/System.ServiceProcess.ServiceController/pkg/System.ServiceProcess.ServiceController.pkgproj +++ b/src/libraries/System.ServiceProcess.ServiceController/pkg/System.ServiceProcess.ServiceController.pkgproj @@ -5,10 +5,8 @@ net461;netcoreapp2.0;uap10.0.16299;$(AllXamarinFrameworks) - - netcore50 - - + + \ No newline at end of file diff --git a/src/libraries/System.Text.Encodings.Web/pkg/System.Text.Encodings.Web.pkgproj b/src/libraries/System.Text.Encodings.Web/pkg/System.Text.Encodings.Web.pkgproj index 9cc15ac1ac7c54..d4a2566a2d05ee 100644 --- a/src/libraries/System.Text.Encodings.Web/pkg/System.Text.Encodings.Web.pkgproj +++ b/src/libraries/System.Text.Encodings.Web/pkg/System.Text.Encodings.Web.pkgproj @@ -1,13 +1,9 @@  - - net461;netcoreapp2.0;uap10.0.16299;$(AllXamarinFrameworks) - net461;netcoreapp2.0;uap10.0.16299;$(AllXamarinFrameworks) - + - - - true - \ No newline at end of file diff --git a/src/libraries/System.Threading.AccessControl/pkg/System.Threading.AccessControl.pkgproj b/src/libraries/System.Threading.AccessControl/pkg/System.Threading.AccessControl.pkgproj index 0ced8fd1327ce6..7c7145ce3e4914 100644 --- a/src/libraries/System.Threading.AccessControl/pkg/System.Threading.AccessControl.pkgproj +++ b/src/libraries/System.Threading.AccessControl/pkg/System.Threading.AccessControl.pkgproj @@ -5,11 +5,8 @@ net461;uap10.0.16299;netcoreapp2.0;$(AllXamarinFrameworks) - - - netcore50 - - + + \ No newline at end of file From 95b63aaa1be73bab604ec2f6164d9662a2c33395 Mon Sep 17 00:00:00 2001 From: Viktor Hofer Date: Thu, 22 Apr 2021 15:49:10 +0200 Subject: [PATCH 2/3] Revert System.Security.AccessControl changes --- .../pkg/System.Security.AccessControl.pkgproj | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/libraries/System.Security.AccessControl/pkg/System.Security.AccessControl.pkgproj b/src/libraries/System.Security.AccessControl/pkg/System.Security.AccessControl.pkgproj index 6f398d889dd7fc..1ef45f103a6d65 100644 --- a/src/libraries/System.Security.AccessControl/pkg/System.Security.AccessControl.pkgproj +++ b/src/libraries/System.Security.AccessControl/pkg/System.Security.AccessControl.pkgproj @@ -5,8 +5,11 @@ net461;netcoreapp2.0;uap10.0.16299;$(AllXamarinFrameworks) - - + + + netcore50 + + \ No newline at end of file From f460a19b791d799317e497c30d1b0c1af4cd537e Mon Sep 17 00:00:00 2001 From: Viktor Hofer Date: Fri, 23 Apr 2021 12:01:11 +0200 Subject: [PATCH 3/3] S.Reflection.Context packageIndex updates --- .../pkg/System.Reflection.Context.pkgproj | 5 +---- src/libraries/pkg/baseline/packageIndex.json | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/libraries/System.Reflection.Context/pkg/System.Reflection.Context.pkgproj b/src/libraries/System.Reflection.Context/pkg/System.Reflection.Context.pkgproj index fad71eab5f7235..ed4d4cb13313c6 100644 --- a/src/libraries/System.Reflection.Context/pkg/System.Reflection.Context.pkgproj +++ b/src/libraries/System.Reflection.Context/pkg/System.Reflection.Context.pkgproj @@ -17,9 +17,6 @@ UAP - - - true - + \ No newline at end of file diff --git a/src/libraries/pkg/baseline/packageIndex.json b/src/libraries/pkg/baseline/packageIndex.json index 2fcf90dfb422b8..a9476f29b81f17 100644 --- a/src/libraries/pkg/baseline/packageIndex.json +++ b/src/libraries/pkg/baseline/packageIndex.json @@ -4907,10 +4907,7 @@ "BaselineVersion": "6.0.0", "InboxOn": { "net45": "4.0.0.0", - "portable46-net451+win81": "4.0.0.0", - "portable45-net45+win8": "4.0.0.0", - "uap10.0.16299": "4.0.3.0", - "win8": "4.0.0.0" + "uap10.0.16299": "4.0.3.0" }, "AssemblyVersionInPackageVersion": { "4.0.0.0": "4.0.0",