-
Notifications
You must be signed in to change notification settings - Fork 141
Expand file tree
/
Copy pathCommunityToolkit.WinUI.Controls.ColorPicker.csproj
More file actions
35 lines (29 loc) · 1.72 KB
/
CommunityToolkit.WinUI.Controls.ColorPicker.csproj
File metadata and controls
35 lines (29 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<Project>
<Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props))" Condition="Exists('$([MSBuild]::GetPathOfFileAbove(Directory.Build.props))')" />
<PropertyGroup>
<ToolkitComponentName>ColorPicker</ToolkitComponentName>
<Description>An extended color picker that enables picking a color using a spectrum, sliders, or text input.</Description>
<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
<RootNamespace>CommunityToolkit.WinUI.Controls.ColorPickerRns</RootNamespace>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="$(ToolkitConvertersSourceProject)" />
<ProjectReference Include="$(ToolkitExtensionsSourceProject)" />
<ProjectReference Include="$(ToolkitHelpersSourceProject)" />
<ProjectReference Include="$(ToolkitPrimitivesSourceProject)" />
<ProjectReference Include="$(ToolkitSegmentedSourceProject)" />
<ProjectReference Include="$(ToolkitAnimationsSourceProject)" />
</ItemGroup>
<!-- Import PackageIdVariant for custom package id -->
<Import Project="$(ToolingDirectory)\MultiTarget\WinUI.TargetVersion.props" />
<PropertyGroup>
<PackageId>$(PackageIdPrefix).$(PackageIdVariant).Controls.$(ToolkitComponentName)</PackageId>
</PropertyGroup>
<!-- Sets this up as a toolkit component's source project -->
<Import Project="$(ToolingDirectory)\ToolkitComponent.SourceProject.props" />
<Target Name="BeforeGenerateProjectPriFile">
<ItemGroup>
<_LayoutFile Remove="@(_LayoutFile)" Condition="$([System.String]::Copy("%(_LayoutFile.TargetPath)").StartsWith('CommunityToolkit.WinUI.Controls.Segmented\'))" />
</ItemGroup>
</Target>
</Project>