From ae5b1135f5f232d95b1fb115e1e74ffa9f68ce4a Mon Sep 17 00:00:00 2001 From: Doug Bunting Date: Mon, 29 Apr 2019 21:21:00 -0700 Subject: [PATCH] Move from Microsoft.Bcl.Json.Sources to System.Text.Json (#9836) - fix downgrade of CoreFx packages in core-sdk - change eng/SharedFramework.Externsl.props - remove System.Buffers and System.Runtime.CompilerServices.Unsafe references - System.Text.Json brings them in transitively - suppress baseline warning about System.Buffers - remove more references from Microsoft.AspNetCore.SignalR.Protocols.Json project - Microsoft.AspNetCore.SignalR.Common brings necessary .NET Standard 2.0 packages in transitively - regenerate ref project files details: - CoreFx no longer produces the Microsoft.Bcl.Json.Sources package - System.Text.Json is now .NET Standard 2.0-compatible - see also dotnet/corefx#37129 and aspnet/Extensions#1610 --- eng/Dependencies.props | 2 +- eng/SharedFramework.External.props | 1 + eng/Version.Details.xml | 8 ++++---- eng/Versions.props | 2 +- .../Microsoft.AspNetCore.Http.Connections.Common.csproj | 4 +--- .../Microsoft.AspNetCore.Http.Connections.Common.csproj | 7 ++++--- .../Microsoft.AspNetCore.SignalR.Protocols.Json.csproj | 3 --- .../Microsoft.AspNetCore.SignalR.Protocols.Json.csproj | 6 ------ .../ref/Microsoft.AspNetCore.SignalR.Common.csproj | 4 +--- .../src/Microsoft.AspNetCore.SignalR.Common.csproj | 7 ++++--- 10 files changed, 17 insertions(+), 27 deletions(-) diff --git a/eng/Dependencies.props b/eng/Dependencies.props index 8cfcf96d7f..d58eedbfa1 100644 --- a/eng/Dependencies.props +++ b/eng/Dependencies.props @@ -42,7 +42,6 @@ and are generated based on the last package release. - @@ -157,6 +156,7 @@ and are generated based on the last package release. + diff --git a/eng/SharedFramework.External.props b/eng/SharedFramework.External.props index 71db8f8a2a..f09417b2aa 100644 --- a/eng/SharedFramework.External.props +++ b/eng/SharedFramework.External.props @@ -89,6 +89,7 @@ <_CompilationOnlyReference Include="System.Buffers" /> <_CompilationOnlyReference Include="System.ComponentModel.Annotations" /> <_CompilationOnlyReference Include="System.Runtime.CompilerServices.Unsafe" /> + <_CompilationOnlyReference Include="System.Text.Json" /> - 4.6.0-preview6.19222.12 4.6.0-preview6.19229.2 4.6.0-preview6.19229.2 4.6.0-preview6.19229.2 @@ -40,6 +39,7 @@ 4.6.0-preview6.19229.2 4.6.0-preview6.19229.2 4.6.0-preview6.19229.2 + 4.6.0-preview6.19229.2 4.6.0-preview6.19229.2 3.0.0-preview6.19229.2 diff --git a/src/SignalR/common/Http.Connections.Common/ref/Microsoft.AspNetCore.Http.Connections.Common.csproj b/src/SignalR/common/Http.Connections.Common/ref/Microsoft.AspNetCore.Http.Connections.Common.csproj index c564d1974e..e7de246e93 100644 --- a/src/SignalR/common/Http.Connections.Common/ref/Microsoft.AspNetCore.Http.Connections.Common.csproj +++ b/src/SignalR/common/Http.Connections.Common/ref/Microsoft.AspNetCore.Http.Connections.Common.csproj @@ -6,9 +6,7 @@ - - - + diff --git a/src/SignalR/common/Http.Connections.Common/src/Microsoft.AspNetCore.Http.Connections.Common.csproj b/src/SignalR/common/Http.Connections.Common/src/Microsoft.AspNetCore.Http.Connections.Common.csproj index 533add06e1..29d4251866 100644 --- a/src/SignalR/common/Http.Connections.Common/src/Microsoft.AspNetCore.Http.Connections.Common.csproj +++ b/src/SignalR/common/Http.Connections.Common/src/Microsoft.AspNetCore.Http.Connections.Common.csproj @@ -20,14 +20,15 @@ - - - + + + + diff --git a/src/SignalR/common/Protocols.Json/ref/Microsoft.AspNetCore.SignalR.Protocols.Json.csproj b/src/SignalR/common/Protocols.Json/ref/Microsoft.AspNetCore.SignalR.Protocols.Json.csproj index 28a3dc0426..7e0ddcd3da 100644 --- a/src/SignalR/common/Protocols.Json/ref/Microsoft.AspNetCore.SignalR.Protocols.Json.csproj +++ b/src/SignalR/common/Protocols.Json/ref/Microsoft.AspNetCore.SignalR.Protocols.Json.csproj @@ -6,9 +6,6 @@ - - - diff --git a/src/SignalR/common/Protocols.Json/src/Microsoft.AspNetCore.SignalR.Protocols.Json.csproj b/src/SignalR/common/Protocols.Json/src/Microsoft.AspNetCore.SignalR.Protocols.Json.csproj index 763b8853d6..a252ecf33e 100644 --- a/src/SignalR/common/Protocols.Json/src/Microsoft.AspNetCore.SignalR.Protocols.Json.csproj +++ b/src/SignalR/common/Protocols.Json/src/Microsoft.AspNetCore.SignalR.Protocols.Json.csproj @@ -22,12 +22,6 @@ - - - - - - diff --git a/src/SignalR/common/SignalR.Common/ref/Microsoft.AspNetCore.SignalR.Common.csproj b/src/SignalR/common/SignalR.Common/ref/Microsoft.AspNetCore.SignalR.Common.csproj index aa6ace09f8..e1fb26d63e 100644 --- a/src/SignalR/common/SignalR.Common/ref/Microsoft.AspNetCore.SignalR.Common.csproj +++ b/src/SignalR/common/SignalR.Common/ref/Microsoft.AspNetCore.SignalR.Common.csproj @@ -7,9 +7,7 @@ - - - + diff --git a/src/SignalR/common/SignalR.Common/src/Microsoft.AspNetCore.SignalR.Common.csproj b/src/SignalR/common/SignalR.Common/src/Microsoft.AspNetCore.SignalR.Common.csproj index 4370a504b1..d1ba59a3eb 100644 --- a/src/SignalR/common/SignalR.Common/src/Microsoft.AspNetCore.SignalR.Common.csproj +++ b/src/SignalR/common/SignalR.Common/src/Microsoft.AspNetCore.SignalR.Common.csproj @@ -25,14 +25,15 @@ - - - + + + +