From cc49a5a7980a41092e181cc889f9814e35077c69 Mon Sep 17 00:00:00 2001 From: Vatsan Madhavan Date: Wed, 5 Feb 2020 17:05:51 -0800 Subject: [PATCH 1/5] Include Microsoft.DotNet.Wpf.DncEng only when running CppHelper in RepoLocation=External. When RepoLocation=Internal, this package is not really needed. --- eng/WpfArcadeSdk/tools/Wpf.Cpp.targets | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/eng/WpfArcadeSdk/tools/Wpf.Cpp.targets b/eng/WpfArcadeSdk/tools/Wpf.Cpp.targets index 319b8a35c39..0ad3d31c4fb 100644 --- a/eng/WpfArcadeSdk/tools/Wpf.Cpp.targets +++ b/eng/WpfArcadeSdk/tools/Wpf.Cpp.targets @@ -499,8 +499,9 @@ using namespace System::Runtime::Versioning; + Condition="'$(MicrosoftDotNetWpfDncEngVersion)' != ''" + Version="$(MicrosoftDotNetWpfDncEngVersion)" + GeneratePathProperty="true" /> ]]> From 06a06500fb1cc4874201ec7ef288d123e96a8bf0 Mon Sep 17 00:00:00 2001 From: Vatsan Madhavan Date: Wed, 5 Feb 2020 17:18:03 -0800 Subject: [PATCH 2/5] Document FilterItem1ByItem2 task --- eng/WpfArcadeSdk/tools/InlineTasks.targets | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/eng/WpfArcadeSdk/tools/InlineTasks.targets b/eng/WpfArcadeSdk/tools/InlineTasks.targets index 33bbd2842f7..3b4e438033d 100644 --- a/eng/WpfArcadeSdk/tools/InlineTasks.targets +++ b/eng/WpfArcadeSdk/tools/InlineTasks.targets @@ -7,6 +7,27 @@ $(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll + From c46ef72673391e734e8924a4b4eaa6a53baacab9 Mon Sep 17 00:00:00 2001 From: Vatsan Madhavan Date: Wed, 5 Feb 2020 17:19:03 -0800 Subject: [PATCH 3/5] Use /Z7 (i.e., oldStyle) when building dotnet-wpf-int repo. This is needed to workaround https://github.com/dotnet/arcade/issues/4763 --- eng/WpfArcadeSdk/tools/Wpf.Cpp.props | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/eng/WpfArcadeSdk/tools/Wpf.Cpp.props b/eng/WpfArcadeSdk/tools/Wpf.Cpp.props index c59044a2f0a..e829da76273 100644 --- a/eng/WpfArcadeSdk/tools/Wpf.Cpp.props +++ b/eng/WpfArcadeSdk/tools/Wpf.Cpp.props @@ -208,6 +208,14 @@ ProgramDatabase + + oldStyle + + Condition="'$(ManagedCxx)' != 'true' and '$(RepoLocation)' != 'Internal'"> $(IntermediateOutputPath)CppSupport\CppSupport_$(MSBuildProjectName).csproj @@ -522,7 +527,7 @@ using namespace System::Runtime::Versioning; %24(Pkgruntime_win-x86_Microsoft_DotNet_Wpf_DncEng)\runtimes\%24(RuntimeIdentifier)\native\ - %24(Pkgruntime_win-x64_Microsoft_DotNet_Wpf_DncEng)runtimes\%24(RuntimeIdentifier)\native\ + %24(Pkgruntime_win-x64_Microsoft_DotNet_Wpf_DncEng)\runtimes\%24(RuntimeIdentifier)\native\ @@ -565,7 +570,7 @@ using namespace System::Runtime::Versioning; - + From b49ad5972d729086eabfe76afa7edda0f4552ffe Mon Sep 17 00:00:00 2001 From: Vatsan Madhavan Date: Wed, 5 Feb 2020 17:20:09 -0800 Subject: [PATCH 5/5] Add `TargetFramework;TargetFrameworks` to native projects. This is needed to prevent these projects from building multiple times parallel. --- eng/WpfArcadeSdk/tools/WpfProjectReference.targets | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eng/WpfArcadeSdk/tools/WpfProjectReference.targets b/eng/WpfArcadeSdk/tools/WpfProjectReference.targets index e8be855867a..4f3ac6aa0c0 100644 --- a/eng/WpfArcadeSdk/tools/WpfProjectReference.targets +++ b/eng/WpfArcadeSdk/tools/WpfProjectReference.targets @@ -58,22 +58,26 @@ false Content PreserveNewest + TargetFramework;TargetFrameworks false Content PreserveNewest + TargetFramework;TargetFrameworks false Content PreserveNewest + TargetFramework;TargetFrameworks false Content PreserveNewest + TargetFramework;TargetFrameworks