From 59c298c4a73bfad1a6acc06d395d007c27310e77 Mon Sep 17 00:00:00 2001 From: Eric Erhardt Date: Thu, 20 Sep 2018 11:45:29 -0500 Subject: [PATCH] Add a target for netstandard2.0 (dotnet/core-setup#4586) * Add a target for netstandard2.0 Adding netstandard2.0 TFMs to the PlatformAbstractions and DependencyModel libraries so we don't force users to bring down unnecessary dependencies. Fix dotnet/core-setup#3680 * Add a comment explaining the Newtonsoft.Json versioning reasoning. Commit migrated from https://github.com/dotnet/core-setup/commit/2c99636fa3b1d38c773a18b8d325c865c1804629 --- src/installer/managed/CommonManaged.props | 5 ++++- .../Microsoft.DotNet.PlatformAbstractions.csproj | 8 +++---- .../Microsoft.Extensions.DependencyModel.csproj | 25 +++++++++++++++++++--- ...crosoft.Extensions.DependencyModel.Tests.csproj | 1 - 4 files changed, 29 insertions(+), 10 deletions(-) diff --git a/src/installer/managed/CommonManaged.props b/src/installer/managed/CommonManaged.props index 2a62fe2..a442d51 100644 --- a/src/installer/managed/CommonManaged.props +++ b/src/installer/managed/CommonManaged.props @@ -6,7 +6,6 @@ $(MajorVersion).$(MinorVersion).$(PatchVersion) $(VersionPrefix) true - true true true https://github.com/dotnet/core-setup/blob/master/LICENSE.TXT @@ -21,6 +20,10 @@ true + + true + + git git://github.com/dotnet/core-setup diff --git a/src/installer/managed/Microsoft.DotNet.PlatformAbstractions/Microsoft.DotNet.PlatformAbstractions.csproj b/src/installer/managed/Microsoft.DotNet.PlatformAbstractions/Microsoft.DotNet.PlatformAbstractions.csproj index 354d20b..b7e6974 100644 --- a/src/installer/managed/Microsoft.DotNet.PlatformAbstractions/Microsoft.DotNet.PlatformAbstractions.csproj +++ b/src/installer/managed/Microsoft.DotNet.PlatformAbstractions/Microsoft.DotNet.PlatformAbstractions.csproj @@ -3,8 +3,8 @@ Abstractions for making code that uses file system and environment testable. - net45;netstandard1.3 - netstandard1.3 + net45;netstandard1.3;netstandard2.0 + netstandard1.3;netstandard2.0 true @@ -17,9 +17,7 @@ - + - - diff --git a/src/installer/managed/Microsoft.Extensions.DependencyModel/Microsoft.Extensions.DependencyModel.csproj b/src/installer/managed/Microsoft.Extensions.DependencyModel/Microsoft.Extensions.DependencyModel.csproj index c05bac3..965fe08 100644 --- a/src/installer/managed/Microsoft.Extensions.DependencyModel/Microsoft.Extensions.DependencyModel.csproj +++ b/src/installer/managed/Microsoft.Extensions.DependencyModel/Microsoft.Extensions.DependencyModel.csproj @@ -3,13 +3,32 @@ Abstractions for reading `.deps` files. - net451;netstandard1.3;netstandard1.6 - netstandard1.3;netstandard1.6 + net451;netstandard1.3;netstandard1.6;netstandard2.0 + netstandard1.3;netstandard1.6;netstandard2.0 + + + + + 11.0.1 + + + + + 9.0.1 + + + + - + diff --git a/src/installer/test/Microsoft.Extensions.DependencyModel.Tests/Microsoft.Extensions.DependencyModel.Tests.csproj b/src/installer/test/Microsoft.Extensions.DependencyModel.Tests/Microsoft.Extensions.DependencyModel.Tests.csproj index 6864bf6..5f21058 100644 --- a/src/installer/test/Microsoft.Extensions.DependencyModel.Tests/Microsoft.Extensions.DependencyModel.Tests.csproj +++ b/src/installer/test/Microsoft.Extensions.DependencyModel.Tests/Microsoft.Extensions.DependencyModel.Tests.csproj @@ -18,7 +18,6 @@ - -- 2.7.4