From 5d8df5a2ea327793cc4728f9f820e1d514cc89f6 Mon Sep 17 00:00:00 2001 From: Matthew Leibowitz Date: Tue, 3 May 2022 12:53:18 +0700 Subject: [PATCH] Move some of the require props into Core --- .nuspec/Microsoft.Maui.Controls.SingleProject.props | 4 ---- .../Sdk/Microsoft.Maui.Core.Sdk.After.targets | 8 +++++++- .../Sdk/Microsoft.Maui.Core.Sdk.targets | 8 ++++++++ src/Workload/Microsoft.Maui.Sdk/Sdk/WinUI.NetCore.targets | 2 +- 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/.nuspec/Microsoft.Maui.Controls.SingleProject.props b/.nuspec/Microsoft.Maui.Controls.SingleProject.props index d699ccd10f00..5c9e1e424f02 100644 --- a/.nuspec/Microsoft.Maui.Controls.SingleProject.props +++ b/.nuspec/Microsoft.Maui.Controls.SingleProject.props @@ -2,11 +2,7 @@ WinExe - true - $(EnableMsixTooling) MSIX - false - true false true <_SingleProjectRIDRequired Condition="'$(OutputType)' == 'Exe' or '$(OutputType)' == 'WinExe'">true diff --git a/src/Workload/Microsoft.Maui.Sdk/Sdk/Microsoft.Maui.Core.Sdk.After.targets b/src/Workload/Microsoft.Maui.Sdk/Sdk/Microsoft.Maui.Core.Sdk.After.targets index 6d820f201add..a37d82a42a42 100644 --- a/src/Workload/Microsoft.Maui.Sdk/Sdk/Microsoft.Maui.Core.Sdk.After.targets +++ b/src/Workload/Microsoft.Maui.Sdk/Sdk/Microsoft.Maui.Core.Sdk.After.targets @@ -5,6 +5,12 @@ $(MSBuildWarningsAsMessages);XA4218 - + + \ No newline at end of file diff --git a/src/Workload/Microsoft.Maui.Sdk/Sdk/Microsoft.Maui.Core.Sdk.targets b/src/Workload/Microsoft.Maui.Sdk/Sdk/Microsoft.Maui.Core.Sdk.targets index 80a5472a6ecc..56e0e47659f4 100644 --- a/src/Workload/Microsoft.Maui.Sdk/Sdk/Microsoft.Maui.Core.Sdk.targets +++ b/src/Workload/Microsoft.Maui.Sdk/Sdk/Microsoft.Maui.Core.Sdk.targets @@ -4,6 +4,14 @@ true + + + true + $(EnableMsixTooling) + true + false + + $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)Microsoft.Maui.Core.Sdk.After.targets diff --git a/src/Workload/Microsoft.Maui.Sdk/Sdk/WinUI.NetCore.targets b/src/Workload/Microsoft.Maui.Sdk/Sdk/WinUI.NetCore.targets index b4f8f27ab237..f56af57bfc8b 100644 --- a/src/Workload/Microsoft.Maui.Sdk/Sdk/WinUI.NetCore.targets +++ b/src/Workload/Microsoft.Maui.Sdk/Sdk/WinUI.NetCore.targets @@ -355,7 +355,7 @@ -