From b5dc4cf7d15dbad96609d4c6e19ea2aef345d064 Mon Sep 17 00:00:00 2001 From: Rainer Sigwald Date: Fri, 23 Mar 2018 13:19:07 -0500 Subject: [PATCH] Target standard over Core2.0 when possible (#3126) It's harder for projects to depend on us if we're netcoreapp2.0, because they must themselves be .NET Core specific rather than netstandard. We only need to be netcoreapp2.1, though--in 2.0 mode we can be netstandard. --- ref/Microsoft.Build/netstandard/Microsoft.Build.cs | 2 +- src/Build/Microsoft.Build.csproj | 13 ++++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/ref/Microsoft.Build/netstandard/Microsoft.Build.cs b/ref/Microsoft.Build/netstandard/Microsoft.Build.cs index 6335785d7ac..ca59a868d62 100644 --- a/ref/Microsoft.Build/netstandard/Microsoft.Build.cs +++ b/ref/Microsoft.Build/netstandard/Microsoft.Build.cs @@ -1093,7 +1093,7 @@ public enum NodeEngineShutdownReason } public partial class OutOfProcNode { - public OutOfProcNode() { } + public OutOfProcNode(string clientToServerPipeHandle, string serverToClientPipeHandle) { } public Microsoft.Build.Execution.NodeEngineShutdownReason Run(bool enableReuse, out System.Exception shutdownException) { shutdownException = default(System.Exception); throw null; } public Microsoft.Build.Execution.NodeEngineShutdownReason Run(out System.Exception shutdownException) { shutdownException = default(System.Exception); throw null; } } diff --git a/src/Build/Microsoft.Build.csproj b/src/Build/Microsoft.Build.csproj index 7327efb37ba..d01826a5f47 100644 --- a/src/Build/Microsoft.Build.csproj +++ b/src/Build/Microsoft.Build.csproj @@ -1,6 +1,9 @@  - $(RuntimeOutputTargetFrameworks) + + netstandard2.0;netcoreapp2.1 + net46;netstandard2.0;netcoreapp2.1 Microsoft.Build Microsoft.Build @@ -10,8 +13,8 @@ false false - - true + + true true true This package contains the $(MSBuildProjectName) assembly which is used to create, edit, and evaluate MSBuild projects. @@ -35,11 +38,11 @@ - + - +