From dcdbef726e980675c5db9931e0cad5afb8016eb4 Mon Sep 17 00:00:00 2001 From: Jose Perez Rodriguez Date: Fri, 31 May 2019 11:43:52 -0700 Subject: [PATCH] Adding net461 target to Microsoft.Bcl.* packages (dotnet/corefx#38104) * Adding net461 target to Microsoft.Bcl.* packages * Adding System.Text.Json net461 target as well Commit migrated from https://github.com/dotnet/corefx/commit/fdab38c206fe545b53d043f81be574cdbe9b5b8c --- eng/depProj.targets | 7 +++++++ .../ref/Configurations.props | 7 ++++++- .../ref/Microsoft.Bcl.AsyncInterfaces.csproj | 12 ++++++++---- .../src/Configurations.props | 7 ++++++- .../src/Microsoft.Bcl.AsyncInterfaces.csproj | 8 +++++--- .../ref/Configurations.props | 2 ++ .../ref/Microsoft.Bcl.HashCode.csproj | 7 ++++--- .../src/Configurations.props | 2 ++ .../src/Microsoft.Bcl.HashCode.csproj | 6 ++++-- .../pkg/System.Text.Json.pkgproj | 9 ++++++++- .../System.Text.Json/ref/Configurations.props | 2 ++ .../System.Text.Json/ref/System.Text.Json.csproj | 8 +++++--- .../System.Text.Json/src/Configurations.props | 7 ++++++- .../System.Text.Json/src/System.Text.Json.csproj | 16 +++++++++++----- .../binplacePackages/binplacePackages.depproj | 3 ++- src/libraries/external/netfx/netfx.depproj | 3 +++ 16 files changed, 81 insertions(+), 25 deletions(-) diff --git a/eng/depProj.targets b/eng/depProj.targets index 11b70d940762c..ce8fcd6b06f36 100644 --- a/eng/depProj.targets +++ b/eng/depProj.targets @@ -111,6 +111,13 @@ See the LICENSE file in the project root for more information. + + + + + + - + netstandard; netstandard2.1; + net461; + + + $(PackageConfigurations); + netfx; diff --git a/src/libraries/Microsoft.Bcl.AsyncInterfaces/ref/Microsoft.Bcl.AsyncInterfaces.csproj b/src/libraries/Microsoft.Bcl.AsyncInterfaces/ref/Microsoft.Bcl.AsyncInterfaces.csproj index e61b49621314e..1c646cdb5675f 100644 --- a/src/libraries/Microsoft.Bcl.AsyncInterfaces/ref/Microsoft.Bcl.AsyncInterfaces.csproj +++ b/src/libraries/Microsoft.Bcl.AsyncInterfaces/ref/Microsoft.Bcl.AsyncInterfaces.csproj @@ -1,13 +1,12 @@ {6371299B-8F39-4A0A-A9CD-70F80FF205F6} - netstandard-Debug;netstandard-Release;netstandard2.1-Debug;netstandard2.1-Release + net461-Debug;net461-Release;netfx-Debug;netfx-Release;netstandard-Debug;netstandard-Release;netstandard2.1-Debug;netstandard2.1-Release - + - - + @@ -15,4 +14,9 @@ + + + + + \ No newline at end of file diff --git a/src/libraries/Microsoft.Bcl.AsyncInterfaces/src/Configurations.props b/src/libraries/Microsoft.Bcl.AsyncInterfaces/src/Configurations.props index 20d2e63c9e234..4de3eef79ff61 100644 --- a/src/libraries/Microsoft.Bcl.AsyncInterfaces/src/Configurations.props +++ b/src/libraries/Microsoft.Bcl.AsyncInterfaces/src/Configurations.props @@ -1,8 +1,13 @@ - + netstandard; netstandard2.1; + net461; + + + $(PackageConfigurations); + netfx; diff --git a/src/libraries/Microsoft.Bcl.AsyncInterfaces/src/Microsoft.Bcl.AsyncInterfaces.csproj b/src/libraries/Microsoft.Bcl.AsyncInterfaces/src/Microsoft.Bcl.AsyncInterfaces.csproj index 2a076b61760d0..3b30c3f665715 100644 --- a/src/libraries/Microsoft.Bcl.AsyncInterfaces/src/Microsoft.Bcl.AsyncInterfaces.csproj +++ b/src/libraries/Microsoft.Bcl.AsyncInterfaces/src/Microsoft.Bcl.AsyncInterfaces.csproj @@ -1,8 +1,8 @@  {96A7CE75-B5E8-421B-BDF0-C4651D97D8CA} - netstandard-Debug;netstandard-Release;netstandard2.1-Debug;netstandard2.1-Release - true + net461-Debug;net461-Release;netfx-Debug;netfx-Release;netstandard-Debug;netstandard-Release;netstandard2.1-Debug;netstandard2.1-Release + true @@ -32,7 +32,9 @@ ProductionCode\System.Runtime\src\System\Runtime\CompilerServices\EnumeratorCancellationAttribute.cs - + + + diff --git a/src/libraries/Microsoft.Bcl.HashCode/ref/Configurations.props b/src/libraries/Microsoft.Bcl.HashCode/ref/Configurations.props index 1264571929b01..0a07627c29c46 100644 --- a/src/libraries/Microsoft.Bcl.HashCode/ref/Configurations.props +++ b/src/libraries/Microsoft.Bcl.HashCode/ref/Configurations.props @@ -4,10 +4,12 @@ netstandard; netstandard2.1; netcoreapp2.1; + net461; $(PackageConfigurations); netcoreapp; + netfx; diff --git a/src/libraries/Microsoft.Bcl.HashCode/ref/Microsoft.Bcl.HashCode.csproj b/src/libraries/Microsoft.Bcl.HashCode/ref/Microsoft.Bcl.HashCode.csproj index 409ce4dfd777a..b8b17e7f5afb2 100644 --- a/src/libraries/Microsoft.Bcl.HashCode/ref/Microsoft.Bcl.HashCode.csproj +++ b/src/libraries/Microsoft.Bcl.HashCode/ref/Microsoft.Bcl.HashCode.csproj @@ -1,12 +1,13 @@  {96AA2060-C846-4E56-9509-E8CB9C114C8F} - netcoreapp-Debug;netcoreapp-Release;netcoreapp2.1-Debug;netcoreapp2.1-Release;netstandard-Debug;netstandard-Release;netstandard2.1-Debug;netstandard2.1-Release + net461-Debug;net461-Release;netcoreapp-Debug;netcoreapp-Release;netcoreapp2.1-Debug;netcoreapp2.1-Release;netfx-Debug;netfx-Release;netstandard-Debug;netstandard-Release;netstandard2.1-Debug;netstandard2.1-Release - + + - + diff --git a/src/libraries/Microsoft.Bcl.HashCode/src/Configurations.props b/src/libraries/Microsoft.Bcl.HashCode/src/Configurations.props index 1264571929b01..0a07627c29c46 100644 --- a/src/libraries/Microsoft.Bcl.HashCode/src/Configurations.props +++ b/src/libraries/Microsoft.Bcl.HashCode/src/Configurations.props @@ -4,10 +4,12 @@ netstandard; netstandard2.1; netcoreapp2.1; + net461; $(PackageConfigurations); netcoreapp; + netfx; diff --git a/src/libraries/Microsoft.Bcl.HashCode/src/Microsoft.Bcl.HashCode.csproj b/src/libraries/Microsoft.Bcl.HashCode/src/Microsoft.Bcl.HashCode.csproj index 9a817ede48655..e99b1ecb3f6e0 100644 --- a/src/libraries/Microsoft.Bcl.HashCode/src/Microsoft.Bcl.HashCode.csproj +++ b/src/libraries/Microsoft.Bcl.HashCode/src/Microsoft.Bcl.HashCode.csproj @@ -2,9 +2,9 @@ {B77D0212-D53C-4F7F-8CEC-2E067AC6FCAB} true - true + true $(IsPartialFacadeAssembly) - netcoreapp-Debug;netcoreapp-Release;netcoreapp2.1-Debug;netcoreapp2.1-Release;netstandard-Debug;netstandard-Release;netstandard2.1-Debug;netstandard2.1-Release + net461-Debug;net461-Release;netcoreapp-Debug;netcoreapp-Release;netcoreapp2.1-Debug;netcoreapp2.1-Release;netfx-Debug;netfx-Release;netstandard-Debug;netstandard-Release;netstandard2.1-Debug;netstandard2.1-Release enable @@ -13,6 +13,8 @@ + + diff --git a/src/libraries/System.Text.Json/pkg/System.Text.Json.pkgproj b/src/libraries/System.Text.Json/pkg/System.Text.Json.pkgproj index 4e75b526b0a6f..7aa54c2a96f04 100644 --- a/src/libraries/System.Text.Json/pkg/System.Text.Json.pkgproj +++ b/src/libraries/System.Text.Json/pkg/System.Text.Json.pkgproj @@ -4,7 +4,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.Text.Json/ref/Configurations.props b/src/libraries/System.Text.Json/ref/Configurations.props index e0948db73ae71..cf9d7fae88bbc 100644 --- a/src/libraries/System.Text.Json/ref/Configurations.props +++ b/src/libraries/System.Text.Json/ref/Configurations.props @@ -2,11 +2,13 @@ netstandard; + net461; $(PackageConfigurations) netcoreapp; uap; + netfx; \ No newline at end of file diff --git a/src/libraries/System.Text.Json/ref/System.Text.Json.csproj b/src/libraries/System.Text.Json/ref/System.Text.Json.csproj index 8049bab3a71a1..85b6a4fdb53ae 100644 --- a/src/libraries/System.Text.Json/ref/System.Text.Json.csproj +++ b/src/libraries/System.Text.Json/ref/System.Text.Json.csproj @@ -1,17 +1,19 @@  {9F155052-2DDE-4DBD-9F31-ADB45C9FE628} - netcoreapp-Debug;netcoreapp-Release;netstandard-Debug;netstandard-Release;uap-Debug;uap-Release + net461-Debug;net461-Release;netcoreapp-Debug;netcoreapp-Release;netfx-Debug;netfx-Release;netstandard-Debug;netstandard-Release;uap-Debug;uap-Release - + - + + + diff --git a/src/libraries/System.Text.Json/src/Configurations.props b/src/libraries/System.Text.Json/src/Configurations.props index 45f47966c3a92..d1c0ca9a755f7 100644 --- a/src/libraries/System.Text.Json/src/Configurations.props +++ b/src/libraries/System.Text.Json/src/Configurations.props @@ -1,9 +1,14 @@  - + netstandard; netcoreapp; uap-Windows_NT; + net461; + + + $(PackageConfigurations); + netfx; diff --git a/src/libraries/System.Text.Json/src/System.Text.Json.csproj b/src/libraries/System.Text.Json/src/System.Text.Json.csproj index 941b0baf1a722..3fde4c3bec847 100644 --- a/src/libraries/System.Text.Json/src/System.Text.Json.csproj +++ b/src/libraries/System.Text.Json/src/System.Text.Json.csproj @@ -4,10 +4,11 @@ System.Text.Json true $(OutputPath)$(MSBuildProjectName).xml - netcoreapp-Debug;netcoreapp-Release;netstandard-Debug;netstandard-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release + net461-Debug;net461-Release;netcoreapp-Debug;netcoreapp-Release;netfx-Debug;netfx-Release;netstandard-Debug;netstandard-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release - $(DefineConstants);BUILDING_INBOX_LIBRARY + $(DefineConstants);BUILDING_INBOX_LIBRARY + $(DefineConstants);netstandard @@ -152,13 +153,18 @@ - + Common\System\Buffers\ArrayBufferWriter.cs + + + + + - + @@ -179,4 +185,4 @@ - + \ No newline at end of file diff --git a/src/libraries/external/binplacePackages/binplacePackages.depproj b/src/libraries/external/binplacePackages/binplacePackages.depproj index 6106e7dca40c0..8f19841172219 100644 --- a/src/libraries/external/binplacePackages/binplacePackages.depproj +++ b/src/libraries/external/binplacePackages/binplacePackages.depproj @@ -4,6 +4,7 @@ true $(TargetFramework.SubString(11)) Reference + true @@ -32,7 +33,7 @@ 4.5.3 - + 4.5.0 diff --git a/src/libraries/external/netfx/netfx.depproj b/src/libraries/external/netfx/netfx.depproj index cba92087c3dee..8acf4c30625e5 100644 --- a/src/libraries/external/netfx/netfx.depproj +++ b/src/libraries/external/netfx/netfx.depproj @@ -40,6 +40,9 @@ 4.5.2 + + 4.5.0 + $(NETStandardSupportPackageVersion)