/
MahApps.Metro.IconPacks.FileIcons.csproj
31 lines (29 loc) · 1.98 KB
/
MahApps.Metro.IconPacks.FileIcons.csproj
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
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="MSBuild.Sdk.Extras">
<!-- Project properties -->
<PropertyGroup>
<DefineConstants>$(DefineConstants);FILEICONS</DefineConstants>
<IconsName>FileIcons</IconsName>
<AssemblyName>MahApps.Metro.IconPacks.FileIcons</AssemblyName>
<Title>MahApps.Metro.IconPacks.FileIcons</Title>
<RootNamespace>MahApps.Metro.IconPacks</RootNamespace>
</PropertyGroup>
<!-- WPF Items include -->
<ItemGroup Condition="'$(_SdkShortFrameworkIdentifier)' != 'uap'">
<None Remove="**\*.rd.xml" />
<Compile Remove="*.cs;Icons\**\*.cs" />
<Compile Include="**\$(IconsName)\*.cs" Exclude="**\$(IconsName)\Path*.*;**\bin\**\*.*;**\obj\**\*.*" />
<Page Generator="MSBuild:Compile" Include="Themes\WPF\$(IconsName)\*.xaml" Link="Themes\%(RecursiveDir)%(Filename)%(Extension)" SubType="Designer" />
<Page Generator="MSBuild:Compile" Include="Themes\WPF\PackIcon$(IconsName).xaml" Link="Themes\%(RecursiveDir)%(Filename)%(Extension)" SubType="Designer" />
</ItemGroup>
<!-- UWP Items include -->
<ItemGroup Condition="'$(_SdkShortFrameworkIdentifier)' == 'uap'">
<Compile Remove="*.cs;Icons\**\*.cs" />
<Compile Remove="Themes\UAP\**\*.*;Themes\WPF\**\*.*" />
<EmbeddedResource Include="**\$(AssemblyName).rd.xml" />
<Compile Condition=" '$(TargetFramework)' != 'uap10.0.18362' " Exclude="**\*Extension*.cs;**\*ImageConverter*.cs" Include="**\$(IconsName)\*.cs" />
<Compile Condition=" '$(TargetFramework)' == 'uap10.0.18362' " Exclude="**\*ImageExtension*.cs;**\*ImageConverter*.cs" Include="**\$(IconsName)\*.cs" />
<Page Exclude="**\bin\**\*.xaml;**\obj\**\*.xaml" Generator="MSBuild:Compile" Include="Themes\UAP\$(IconsName)\*.xaml;Themes\UAP\PackIcon$(IconsName).xaml" Link="Themes\%(RecursiveDir)%(Filename)%(Extension)" SubType="Designer" />
<Compile DependentUpon="%(Filename)" Update="**\*.xaml.cs" />
</ItemGroup>
</Project>