/ src / settings-ui / QuickAccess.UI / PowerToys.QuickAccess.csproj
PowerToys.QuickAccess.csproj
 1  <Project Sdk="Microsoft.NET.Sdk">
 2    <Import Project="$(RepoRoot)src\Common.Dotnet.CsWinRT.props" />
 3    <Import Project="$(RepoRoot)src\Common.SelfContained.props" />
 4  
 5    <PropertyGroup>
 6      <OutputType>WinExe</OutputType>
 7      <TargetFramework>net9.0-windows10.0.26100.0</TargetFramework>
 8      <RootNamespace>Microsoft.PowerToys.QuickAccess</RootNamespace>
 9      <AssemblyName>PowerToys.QuickAccess</AssemblyName>
10      <ApplicationIcon>..\..\runner\svgs\icon.ico</ApplicationIcon>
11      <UseWinUI>true</UseWinUI>
12      <WindowsPackageType>None</WindowsPackageType>
13      <WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>
14      <EnablePreviewMsixTooling>true</EnablePreviewMsixTooling>
15      <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
16      <AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
17      <ApplicationManifest>app.manifest</ApplicationManifest>
18      <OutputPath>$(RepoRoot)$(Platform)\$(Configuration)\WinUI3Apps</OutputPath>
19        <EnableDefaultPageItems>false</EnableDefaultPageItems>
20        <EnableDefaultApplicationDefinition>false</EnableDefaultApplicationDefinition>
21      <Nullable>enable</Nullable>
22      <ProjectPriFileName>PowerToys.QuickAccess.pri</ProjectPriFileName>
23    </PropertyGroup>
24  
25    <PropertyGroup>
26      <CsWinRTIncludes>PowerToys.GPOWrapper</CsWinRTIncludes>
27      <CsWinRTGeneratedFilesDir>$(OutDir)</CsWinRTGeneratedFilesDir>
28    </PropertyGroup>
29  
30    <ItemGroup>
31      <ApplicationDefinition Include="QuickAccessXaml\App.xaml" />
32      <Page Include="QuickAccessXaml\MainWindow.xaml" />
33      <Page Include="QuickAccessXaml\Flyout\ShellPage.xaml" />
34      <Page Include="QuickAccessXaml\Flyout\LaunchPage.xaml" />
35      <Page Include="QuickAccessXaml\Flyout\AppsListPage.xaml" />
36    </ItemGroup>
37  
38    <ItemGroup>
39      <Page Include="..\Settings.UI\SettingsXAML\Styles\Button.xaml">
40        <Link>Resources\Styles\Button.xaml</Link>
41      </Page>
42      <Page Include="..\Settings.UI\SettingsXAML\Styles\TextBlock.xaml">
43        <Link>Resources\Styles\TextBlock.xaml</Link>
44      </Page>
45      <Page Include="..\Settings.UI\SettingsXAML\Themes\Colors.xaml">
46        <Link>Resources\Themes\Colors.xaml</Link>
47      </Page>
48      <Page Include="..\Settings.UI\SettingsXAML\Themes\Generic.xaml">
49        <Link>Resources\Themes\Generic.xaml</Link>
50      </Page>
51    </ItemGroup>
52  
53    <ItemGroup>
54      <PRIResource Include="..\Settings.UI\Strings\**\Resources.resw">
55        <Link>Strings\%(RecursiveDir)Resources.resw</Link>
56      </PRIResource>
57    </ItemGroup>
58  
59    <ItemGroup>
60      <Content Include="..\Settings.UI\Assets\Settings\Icons\**\*">
61        <Link>Assets\Settings\Icons\%(RecursiveDir)%(Filename)%(Extension)</Link>
62        <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
63      </Content>
64    </ItemGroup>
65  
66    <ItemGroup>
67      <PackageReference Include="CommunityToolkit.WinUI.Animations" />
68      <PackageReference Include="CommunityToolkit.WinUI.Controls.Primitives" />
69      <PackageReference Include="CommunityToolkit.WinUI.Controls.SettingsControls" />
70      <PackageReference Include="CommunityToolkit.WinUI.Controls.Segmented" />
71      <PackageReference Include="CommunityToolkit.WinUI.Converters" />
72      <PackageReference Include="CommunityToolkit.WinUI.Extensions" />
73      <PackageReference Include="Microsoft.WindowsAppSDK" />
74      <PackageReference Include="WinUIEx" />
75    </ItemGroup>
76  
77    <ItemGroup>
78      <ProjectReference Include="..\..\common\GPOWrapper\GPOWrapper.vcxproj" />
79      <ProjectReference Include="..\..\common\ManagedCommon\ManagedCommon.csproj" />
80      <ProjectReference Include="..\..\common\ManagedTelemetry\Telemetry\ManagedTelemetry.csproj" />
81      <ProjectReference Include="..\..\common\interop\PowerToys.Interop.vcxproj" />
82      <ProjectReference Include="..\..\common\Common.UI\Common.UI.csproj" />
83      <ProjectReference Include="..\Settings.UI.Library\Settings.UI.Library.csproj" />
84      <ProjectReference Include="..\Settings.UI.Controls\Settings.UI.Controls.csproj" />
85    </ItemGroup>
86  
87    <ItemGroup>
88      <Manifest Include="$(ApplicationManifest)" />
89    </ItemGroup>
90  </Project>