Skip to content

Commit

Permalink
Workaround for Segmented layout files being included in ColorPicker
Browse files Browse the repository at this point in the history
  • Loading branch information
Arlodotexe committed Mar 5, 2024
1 parent f4660e3 commit 7c3a552
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,10 @@
<PropertyGroup>
<PackageId>$(PackageIdPrefix).$(PackageIdVariant).Controls.$(ToolkitComponentName)</PackageId>
</PropertyGroup>

<Target Name="BeforeGenerateProjectPriFile">
<ItemGroup>
<_LayoutFile Remove="@(_LayoutFile)" Condition="$([System.String]::Copy(&quot;%(_LayoutFile.TargetPath)&quot;).StartsWith('CommunityToolkit.WinUI.Controls.Segmented\'))" />
</ItemGroup>
</Target>
</Project>

0 comments on commit 7c3a552

Please sign in to comment.