2022-04-20 04:00:28 +08:00
|
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
|
<Import Project="..\..\Version.props" />
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<OutputType>WinExe</OutputType>
|
|
|
|
|
<TargetFramework>net6.0-windows10.0.18362.0</TargetFramework>
|
|
|
|
|
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
|
|
|
|
|
<RootNamespace>Microsoft.PowerToys.Settings.UI</RootNamespace>
|
|
|
|
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
|
|
|
|
<Platforms>x64</Platforms>
|
2022-04-20 15:55:01 +08:00
|
|
|
|
<RuntimeIdentifiers>win10-x64</RuntimeIdentifiers>
|
2022-04-20 04:00:28 +08:00
|
|
|
|
<UseWinUI>true</UseWinUI>
|
|
|
|
|
<EnablePreviewMsixTooling>true</EnablePreviewMsixTooling>
|
|
|
|
|
<WindowsPackageType>None</WindowsPackageType>
|
|
|
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
|
|
|
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
|
|
|
|
|
<ApplicationIcon>icon.ico</ApplicationIcon>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
|
|
|
<NoWarn></NoWarn>
|
|
|
|
|
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
|
|
|
|
|
<WarningsNotAsErrors>CA1720</WarningsNotAsErrors>
|
|
|
|
|
<OutputPath>..\..\..\$(Platform)\$(Configuration)\Settings</OutputPath>
|
|
|
|
|
<Optimize>False</Optimize>
|
|
|
|
|
<DebugType>full</DebugType>
|
|
|
|
|
<DebugSymbols>true</DebugSymbols>
|
|
|
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
|
|
|
<NoWarn></NoWarn>
|
|
|
|
|
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
|
|
|
|
|
<WarningsNotAsErrors>CA1720</WarningsNotAsErrors>
|
|
|
|
|
<OutputPath>..\..\..\$(Platform)\$(Configuration)\Settings</OutputPath>
|
|
|
|
|
<Optimize>true</Optimize>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<None Remove="OobeWindow.xaml" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<AdditionalFiles Include="..\..\codeAnalysis\StyleCop.json">
|
|
|
|
|
<Link>StyleCop.json</Link>
|
|
|
|
|
</AdditionalFiles>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Content Include="Assets\SplashScreen.scale-200.png" />
|
|
|
|
|
<Content Include="Assets\LockScreenLogo.scale-200.png" />
|
|
|
|
|
<Content Include="Assets\Square150x150Logo.scale-200.png" />
|
|
|
|
|
<Content Include="Assets\Square44x44Logo.scale-200.png" />
|
|
|
|
|
<Content Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" />
|
|
|
|
|
<Content Include="Assets\StoreLogo.png" />
|
|
|
|
|
<Content Include="Assets\Wide310x150Logo.scale-200.png" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<PackageReference Include="CommunityToolkit.WinUI.UI" Version="7.1.2" />
|
|
|
|
|
<PackageReference Include="CommunityToolkit.WinUI.UI.Controls" Version="7.1.2" />
|
2022-04-20 15:55:01 +08:00
|
|
|
|
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.0.3" />
|
2022-04-20 04:00:28 +08:00
|
|
|
|
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22000.194" />
|
|
|
|
|
<PackageReference Include="Microsoft.Xaml.Behaviors.WinUI.Managed" Version="2.0.8" />
|
|
|
|
|
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="6.0.0">
|
|
|
|
|
<PrivateAssets>all</PrivateAssets>
|
|
|
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
|
|
|
</PackageReference>
|
|
|
|
|
<PackageReference Include="StyleCop.Analyzers">
|
|
|
|
|
<Version>1.1.118</Version>
|
|
|
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
|
|
|
<PrivateAssets>all</PrivateAssets>
|
|
|
|
|
</PackageReference>
|
|
|
|
|
<Manifest Include="$(ApplicationManifest)" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<!-- Defining the "Msix" ProjectCapability here allows the Single-project MSIX Packaging
|
|
|
|
|
Tools extension to be activated for this project even if the Windows App SDK Nuget
|
|
|
|
|
package has not yet been restored -->
|
|
|
|
|
<ItemGroup Condition="'$(DisableMsixProjectCapabilityAddedByProject)'!='true' and '$(EnablePreviewMsixTooling)'=='true'">
|
|
|
|
|
<ProjectCapability Include="Msix" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<ProjectReference Include="..\..\common\ManagedCommon\ManagedCommon.csproj" />
|
|
|
|
|
<ProjectReference Include="..\..\common\ManagedTelemetry\Telemetry\ManagedTelemetry.csproj" />
|
|
|
|
|
<ProjectReference Include="..\Settings.UI.Library\Settings.UI.Library.csproj" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Page Update="OobeWindow.xaml">
|
|
|
|
|
<Generator>MSBuild:Compile</Generator>
|
|
|
|
|
</Page>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<None Update="icon.ico">
|
|
|
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
|
|
|
</None>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
</Project>
|