From ceed7cab75236a0f435b27dd435dd1658cb50a1a Mon Sep 17 00:00:00 2001 From: Chris Rummel Date: Wed, 20 Oct 2021 15:19:29 -0500 Subject: [PATCH 1/2] Restore building all TFMs for source-build Required for omnisharp, nuget-client, templating, sdk Background Issue: https://github.com/dotnet/source-build/issues/2542 Patch removal issue: https://github.com/dotnet/source-build/issues/2556 --- src/Build/Microsoft.Build.csproj | 3 +-- src/Directory.Build.props | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Build/Microsoft.Build.csproj b/src/Build/Microsoft.Build.csproj index cd99bc84721..9ca480eceb8 100644 --- a/src/Build/Microsoft.Build.csproj +++ b/src/Build/Microsoft.Build.csproj @@ -4,8 +4,7 @@ - net6.0 - $(FullFrameworkTFM);net6.0 + $(FullFrameworkTFM);net6.0 $(RuntimeOutputTargetFrameworks) Microsoft.Build Microsoft.Build diff --git a/src/Directory.Build.props b/src/Directory.Build.props index a96fe427c62..6ff47771a4f 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -28,13 +28,12 @@ $(FullFrameworkTFM);netstandard2.0 - netstandard2.0 $(FullFrameworkTFM) AnyCPU net6.0 - $(FullFrameworkTFM);$(RuntimeOutputTargetFrameworks) + $(FullFrameworkTFM);$(RuntimeOutputTargetFrameworks) $(FullFrameworkTFM) From f1fdbcd442476073b8a684d60af1fea9b228b49d Mon Sep 17 00:00:00 2001 From: dseefeld Date: Wed, 20 Oct 2021 21:49:51 +0000 Subject: [PATCH 2/2] Remove dependency on MS.VS.Setup.Configuration.Interop Removes prebuilts. Background Issue: https://github.com/dotnet/source-build/issues/2542 --- src/Build/Microsoft.Build.csproj | 4 +++- src/Directory.BeforeCommon.targets | 2 +- src/Samples/Directory.Build.props | 1 + src/Tasks/Microsoft.Build.Tasks.csproj | 4 +++- src/Utilities/Microsoft.Build.Utilities.csproj | 2 +- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/Build/Microsoft.Build.csproj b/src/Build/Microsoft.Build.csproj index 9ca480eceb8..c25e4dc39fe 100644 --- a/src/Build/Microsoft.Build.csproj +++ b/src/Build/Microsoft.Build.csproj @@ -39,8 +39,10 @@ - + + + diff --git a/src/Directory.BeforeCommon.targets b/src/Directory.BeforeCommon.targets index cb6fabf4c0d..158f885de12 100644 --- a/src/Directory.BeforeCommon.targets +++ b/src/Directory.BeforeCommon.targets @@ -98,7 +98,7 @@ $(DefineConstants);FEATURE_DEBUGGER $(DefineConstants);FEATURE_WIN32_REGISTRY $(DefineConstants);FEATURE_WORKINGSET - $(DefineConstants);FEATURE_VISUALSTUDIOSETUP + $(DefineConstants);FEATURE_VISUALSTUDIOSETUP $(DefineConstants);FEATURE_MSCOREE diff --git a/src/Samples/Directory.Build.props b/src/Samples/Directory.Build.props index 6b9d6cd9f29..317ef14a6bb 100644 --- a/src/Samples/Directory.Build.props +++ b/src/Samples/Directory.Build.props @@ -8,6 +8,7 @@ false false + true diff --git a/src/Tasks/Microsoft.Build.Tasks.csproj b/src/Tasks/Microsoft.Build.Tasks.csproj index 1d84694b402..2db4195b003 100644 --- a/src/Tasks/Microsoft.Build.Tasks.csproj +++ b/src/Tasks/Microsoft.Build.Tasks.csproj @@ -974,8 +974,10 @@ - + + + diff --git a/src/Utilities/Microsoft.Build.Utilities.csproj b/src/Utilities/Microsoft.Build.Utilities.csproj index 4406635c278..5e5bcafb605 100644 --- a/src/Utilities/Microsoft.Build.Utilities.csproj +++ b/src/Utilities/Microsoft.Build.Utilities.csproj @@ -26,7 +26,7 @@ - +