From 95fa04faf625dee1205e61afe8ec19b8965eb6d0 Mon Sep 17 00:00:00 2001 From: Nirmal Guru Date: Fri, 8 May 2020 18:09:03 +0530 Subject: [PATCH] Don't import .NET Framework's implementation of WinFX targets When the SDK's implementation is being used. --- .../targets/Microsoft.NET.Sdk.WindowsDesktop.props | 9 +++++++++ .../targets/Microsoft.NET.Sdk.WindowsDesktop.targets | 6 +++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/packaging/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props b/packaging/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props index d04f9b04b58..d6f3367e939 100644 --- a/packaging/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props +++ b/packaging/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props @@ -161,4 +161,13 @@ + + + false + + diff --git a/packaging/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets b/packaging/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets index 335e662d5c7..edadf38f4b3 100644 --- a/packaging/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets +++ b/packaging/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets @@ -1,7 +1,7 @@ - <_MicrosoftNetSdkWindowsDesktop>true + <_MicrosoftNETSdkWindowsDesktop>true true true Wpf @@ -152,7 +152,7 @@ - - + +