2022-04-20 04:00:28 +08:00
|
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
|
<Import Project="..\..\Version.props" />
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<OutputType>WinExe</OutputType>
|
2022-12-01 22:40:41 +08:00
|
|
|
|
<TargetFramework>net7.0-windows10.0.19041.0</TargetFramework>
|
2022-04-20 04:00:28 +08:00
|
|
|
|
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
|
|
|
|
|
<RootNamespace>Microsoft.PowerToys.Settings.UI</RootNamespace>
|
|
|
|
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
2022-04-20 23:21:46 +08:00
|
|
|
|
<RuntimeIdentifiers>win10-x64;win10-arm64</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>
|
2022-06-07 16:58:32 +08:00
|
|
|
|
<WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>
|
2022-04-21 04:24:36 +08:00
|
|
|
|
<!-- OutputPath looks like this because it has to be called both by settings and publish.cmd -->
|
|
|
|
|
<OutputPath>..\..\..\$(Platform)\$(Configuration)\Settings</OutputPath>
|
2022-12-14 20:37:23 +08:00
|
|
|
|
<SelfContained>true</SelfContained>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
|
|
<!-- SelfContained=true requires RuntimeIdentifier to be set -->
|
|
|
|
|
<PropertyGroup Condition="'$(Platform)'=='x64'">
|
|
|
|
|
<RuntimeIdentifier>win10-x64</RuntimeIdentifier>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition="'$(Platform)'=='ARM64'">
|
|
|
|
|
<RuntimeIdentifier>win10-arm64</RuntimeIdentifier>
|
2022-04-20 04:00:28 +08:00
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
2022-04-20 23:21:46 +08:00
|
|
|
|
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
|
2022-04-20 04:00:28 +08:00
|
|
|
|
<NoWarn></NoWarn>
|
|
|
|
|
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
|
|
|
|
|
<WarningsNotAsErrors>CA1720</WarningsNotAsErrors>
|
|
|
|
|
<Optimize>False</Optimize>
|
|
|
|
|
<DebugType>full</DebugType>
|
|
|
|
|
<DebugSymbols>true</DebugSymbols>
|
|
|
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
2022-04-20 23:21:46 +08:00
|
|
|
|
<PropertyGroup Condition="'$(Configuration)'=='Release'">
|
2022-04-20 04:00:28 +08:00
|
|
|
|
<NoWarn></NoWarn>
|
|
|
|
|
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
|
|
|
|
|
<WarningsNotAsErrors>CA1720</WarningsNotAsErrors>
|
|
|
|
|
<Optimize>true</Optimize>
|
|
|
|
|
</PropertyGroup>
|
2022-11-24 02:57:09 +08:00
|
|
|
|
|
2022-10-26 21:02:31 +08:00
|
|
|
|
<!-- See https://learn.microsoft.com/windows/apps/develop/platform/csharp-winrt/net-projection-from-cppwinrt-component for more info -->
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<CsWinRTIncludes>PowerToys.GPOWrapper</CsWinRTIncludes>
|
|
|
|
|
<CsWinRTGeneratedFilesDir>$(OutDir)</CsWinRTGeneratedFilesDir>
|
|
|
|
|
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
2022-11-24 02:57:09 +08:00
|
|
|
|
<!-- Needed for CommunityToolkit.Labs.WinUI.SettingsControls. -->
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<RestoreAdditionalProjectSources>https://pkgs.dev.azure.com/dotnet/CommunityToolkit/_packaging/CommunityToolkit-Labs/nuget/v3/index.json</RestoreAdditionalProjectSources>
|
|
|
|
|
</PropertyGroup>
|
2022-10-13 19:05:43 +08:00
|
|
|
|
|
2022-04-20 04:00:28 +08:00
|
|
|
|
<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>
|
2022-11-24 02:57:09 +08:00
|
|
|
|
<PackageReference Include="CommunityToolkit.Labs.WinUI.SettingsControls" Version="0.0.7" />
|
2022-10-26 21:02:31 +08:00
|
|
|
|
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.0.0" />
|
2022-04-20 04:00:28 +08:00
|
|
|
|
<PackageReference Include="CommunityToolkit.WinUI.UI" Version="7.1.2" />
|
|
|
|
|
<PackageReference Include="CommunityToolkit.WinUI.UI.Controls" Version="7.1.2" />
|
2022-09-28 18:26:24 +08:00
|
|
|
|
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.1.5" />
|
2022-10-12 16:19:01 +08:00
|
|
|
|
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.1" />
|
|
|
|
|
<PackageReference Include="Microsoft.Xaml.Behaviors.WinUI.Managed" Version="2.0.9" />
|
2022-04-20 04:00:28 +08:00
|
|
|
|
<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>
|
2022-10-26 21:02:31 +08:00
|
|
|
|
<ProjectReference Include="..\..\common\GPOWrapper\GPOWrapper.vcxproj" />
|
2022-04-20 04:00:28 +08:00
|
|
|
|
<ProjectReference Include="..\..\common\ManagedCommon\ManagedCommon.csproj" />
|
|
|
|
|
<ProjectReference Include="..\..\common\ManagedTelemetry\Telemetry\ManagedTelemetry.csproj" />
|
|
|
|
|
<ProjectReference Include="..\Settings.UI.Library\Settings.UI.Library.csproj" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<None Update="icon.ico">
|
|
|
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
|
|
|
</None>
|
2022-10-13 19:05:43 +08:00
|
|
|
|
<Page Update="OOBE\Views\OobeHosts.xaml">
|
|
|
|
|
<Generator>MSBuild:Compile</Generator>
|
|
|
|
|
</Page>
|
2022-04-20 04:00:28 +08:00
|
|
|
|
</ItemGroup>
|
2022-08-25 18:25:52 +08:00
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Page Update="OOBE\Views\OobePowerOCR.xaml">
|
|
|
|
|
<XamlRuntime>$(DefaultXamlRuntime)</XamlRuntime>
|
|
|
|
|
</Page>
|
|
|
|
|
</ItemGroup>
|
2022-04-20 04:00:28 +08:00
|
|
|
|
</Project>
|