From c666c00fcb3c128e75e44a2291a30a91ffeac844 Mon Sep 17 00:00:00 2001 From: GH Cao Date: Wed, 21 Aug 2024 10:30:47 +0800 Subject: [PATCH] Fix build error on WindowsFormsIntegration references .NET 9 does not resolve WPF references when UseWindowsForms=true but UseWPF=false, having WindowsFormsIntegration.dll in this case will result in build error --- ...isposableMemory.ModernNetUAP.XamlCompiler.targets | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/ModernXamlCompiler/build/DisposableMemory.ModernNetUAP.XamlCompiler.targets b/ModernXamlCompiler/build/DisposableMemory.ModernNetUAP.XamlCompiler.targets index 50b4d64..52f62c8 100644 --- a/ModernXamlCompiler/build/DisposableMemory.ModernNetUAP.XamlCompiler.targets +++ b/ModernXamlCompiler/build/DisposableMemory.ModernNetUAP.XamlCompiler.targets @@ -17,6 +17,16 @@ + + + + + + + @@ -32,7 +42,7 @@ - +