From 7c3a55230711585e581aa10b6b70c9db88f79d18 Mon Sep 17 00:00:00 2001 From: Arlo Godfrey Date: Tue, 5 Mar 2024 12:54:03 -0600 Subject: [PATCH] Workaround for Segmented layout files being included in ColorPicker See https://github.com/CommunityToolkit/Windows/pull/241#issuecomment-1979283872 --- .../src/CommunityToolkit.WinUI.Controls.ColorPicker.csproj | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/components/ColorPicker/src/CommunityToolkit.WinUI.Controls.ColorPicker.csproj b/components/ColorPicker/src/CommunityToolkit.WinUI.Controls.ColorPicker.csproj index 6d2eff11..846b808c 100644 --- a/components/ColorPicker/src/CommunityToolkit.WinUI.Controls.ColorPicker.csproj +++ b/components/ColorPicker/src/CommunityToolkit.WinUI.Controls.ColorPicker.csproj @@ -23,4 +23,10 @@ $(PackageIdPrefix).$(PackageIdVariant).Controls.$(ToolkitComponentName) + + + + <_LayoutFile Remove="@(_LayoutFile)" Condition="$([System.String]::Copy("%(_LayoutFile.TargetPath)").StartsWith('CommunityToolkit.WinUI.Controls.Segmented\'))" /> + +