From 7f47f55ef15747da50b6a56b2bd0515272cef4c5 Mon Sep 17 00:00:00 2001 From: Doug Bunting <6431421+dougbu@users.noreply.github.com> Date: Tue, 3 Nov 2020 20:34:50 -0800 Subject: [PATCH] [release/5.0] Target 5.0.0 shared framework in global tools - #19108 - ensure the packaged runtimeconfig.json file uses the 5.0.0 shared framework - disable `$(TargetLatestDotNetRuntime)` in tool projects - skip `@(FrameworkReference)` item update if `$(TargetLatestDotNetRuntime)` is disabled nit: Move `$(PackAsTool)` settings together --- Directory.Build.targets | 7 +------ eng/Workarounds.targets | 5 ++--- src/Tools/Directory.Build.targets | 18 ++++++++++++++---- 3 files changed, 17 insertions(+), 13 deletions(-) diff --git a/Directory.Build.targets b/Directory.Build.targets index 7a13e8860e78..a5d1b3269b75 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -52,11 +52,6 @@ true - - - win-x64;win-x86 - - $(AssemblyName) true - true + true true diff --git a/eng/Workarounds.targets b/eng/Workarounds.targets index 863e0c471638..7e11ce5f09d7 100644 --- a/eng/Workarounds.targets +++ b/eng/Workarounds.targets @@ -9,10 +9,9 @@ + TargetingPackVersion="$(MicrosoftNETCoreAppRefPackageVersion)" /> + win-x64;win-x86 + + false + + false + + true + +