/ src / modules / cmdpal / Microsoft.CmdPal.UI / CmdPal.Branding.props
CmdPal.Branding.props
 1  <?xml version="1.0" encoding="utf-8"?>
 2  <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
 3  
 4    <PropertyGroup>
 5      <CmdPalAssetSuffix Condition="'$(CommandPaletteBranding)'=='Release'">Stable</CmdPalAssetSuffix>
 6      <CmdPalAssetSuffix Condition="'$(CommandPaletteBranding)'=='Preview'">Stable</CmdPalAssetSuffix>
 7      <CmdPalAssetSuffix Condition="'$(CommandPaletteBranding)'=='Canary'">Stable</CmdPalAssetSuffix>
 8      <CmdPalAssetSuffix Condition="'$(CommandPaletteBranding)'=='' or '$(CommandPaletteBranding)'=='Dev'">Dev</CmdPalAssetSuffix>
 9    </PropertyGroup>
10  
11    <PropertyGroup Condition="'$(CommandPaletteBranding)'=='Release'">
12      <ApplicationIcon>Assets\Stable\icon.ico</ApplicationIcon>
13    </PropertyGroup>
14    <PropertyGroup Condition="'$(CommandPaletteBranding)'=='Preview'">
15      <ApplicationIcon>Assets\Stable\icon.ico</ApplicationIcon>
16    </PropertyGroup>
17    <PropertyGroup Condition="'$(CommandPaletteBranding)'=='Canary'">
18      <ApplicationIcon>Assets\Stable\icon.ico</ApplicationIcon>
19    </PropertyGroup>
20    <PropertyGroup Condition="'$(CommandPaletteBranding)'=='' or '$(CommandPaletteBranding)'=='Dev'">
21      <ApplicationIcon>Assets\Dev\icon.ico</ApplicationIcon>
22    </PropertyGroup>
23  
24  
25    <ItemGroup>
26      <!-- Images -->
27      <Content Include=".\Assets\$(CmdPalAssetSuffix)\**\*">
28        <DeploymentContent>true</DeploymentContent>
29        <Link>Assets\%(RecursiveDir)%(FileName)%(Extension)</Link>
30      </Content>
31    </ItemGroup>
32  
33    <ItemGroup>
34      <Manifest Include="$(ApplicationManifest)" />
35  
36      <!-- In the future, when we actually want to support "preview" and "canary",
37           add a Package-Pre.appxmanifest, etc. -->
38      <AppxManifest Include="Package.appxmanifest" Condition="'$(CommandPaletteBranding)'=='Release'" />
39      <AppxManifest Include="Package.appxmanifest" Condition="'$(CommandPaletteBranding)'=='Preview'" />
40      <AppxManifest Include="Package.appxmanifest" Condition="'$(CommandPaletteBranding)'=='Canary'" />
41      <AppxManifest Include="Package-Dev.appxmanifest" Condition="'$(CommandPaletteBranding)'=='' or '$(CommandPaletteBranding)'=='Dev'" />
42    </ItemGroup>
43  
44  </Project>