From cef57cb3eda9e97884f591deb083e74789e4837b Mon Sep 17 00:00:00 2001 From: Brennan Date: Wed, 29 May 2019 12:50:54 -0700 Subject: [PATCH] Enable netstandard2.1 libraries to build (#10614) --- Directory.Build.targets | 13 ++++++++++--- eng/SharedFramework.External.props | 2 +- eng/Version.Details.xml | 4 ++++ eng/Versions.props | 1 + 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/Directory.Build.targets b/Directory.Build.targets index 212c9878c2..2486a20a85 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -81,9 +81,12 @@ - $(MicrosoftNETCoreAppPackageVersion) - $(MicrosoftNETCoreAppPackageVersion) - $(MicrosoftNETCoreAppPackageVersion) + + $(MicrosoftNETCoreAppPackageVersion) + + $(MicrosoftNETCoreAppPackageVersion) + + $(MicrosoftNETCoreAppPackageVersion) @@ -95,6 +98,10 @@ $(SharedFxVersion) + + $(NETStandardLibraryRefPackageVersion) + + diff --git a/eng/SharedFramework.External.props b/eng/SharedFramework.External.props index d735b0764f..e894b2f988 100644 --- a/eng/SharedFramework.External.props +++ b/eng/SharedFramework.External.props @@ -83,7 +83,7 @@ These compilation references are necessary to compile netstandard2.0 assemblies which are in the shared framework. This references are part of Microsoft.NETCore.App, so are listed here as references to be used during compilation only. --> - + <_CompilationOnlyReference Include="System.Buffers" /> <_CompilationOnlyReference Include="System.ComponentModel.Annotations" /> <_CompilationOnlyReference Include="System.Runtime.CompilerServices.Unsafe" /> diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 45a9967926..5971f3367b 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -377,6 +377,10 @@ https://github.com/dotnet/core-setup 20426e8c486d8715337cb6438ec70bc3619a514d + + https://github.com/dotnet/core-setup + 20426e8c486d8715337cb6438ec70bc3619a514d + diff --git a/eng/Versions.props b/eng/Versions.props index 557ca946e5..553e0d4c7f 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -25,6 +25,7 @@ 3.0.0-preview6-27723-08 3.0.0-preview6-27723-08 + 2.1.0-preview6-27723-08 4.6.0-preview6.19273.5 4.6.0-preview6.19273.5