2020-04-22 03:55:04 +08:00
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
2020-06-22 17:14:00 +08:00
|
|
|
|
<Import Project="..\..\..\installer\Version.props" />
|
|
|
|
|
<!-- We don't have GenerateAssemblyInfo task until we use .net core, so we generate it with WriteLinesToFile -->
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<AssemblyTitle>Microsoft.PowerToys.Settings.UI</AssemblyTitle>
|
2020-06-23 21:47:07 +08:00
|
|
|
|
<AssemblyDescription>PowerToys Settings UI</AssemblyDescription>
|
2020-06-22 17:14:00 +08:00
|
|
|
|
<AssemblyCompany>Microsoft Corp.</AssemblyCompany>
|
|
|
|
|
<AssemblyCopyright>Copyright (C) 2020 Microsoft Corp.</AssemblyCopyright>
|
2020-06-23 21:47:07 +08:00
|
|
|
|
<AssemblyProduct>PowerToys</AssemblyProduct>
|
2020-06-22 17:14:00 +08:00
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<AssemblyVersionFiles Include="Generated Files\AssemblyInfo.cs" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<Target Name="GenerateAssemblyInfo" BeforeTargets="PrepareForBuild">
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<HeaderLines Include="// Copyright (c) Microsoft Corporation" />
|
|
|
|
|
<HeaderLines Include="// The Microsoft Corporation licenses this file to you under the MIT license." />
|
|
|
|
|
<HeaderLines Include="// See the LICENSE file in the project root for more information." />
|
|
|
|
|
<HeaderLines Include="#pragma warning disable SA1516" />
|
|
|
|
|
<HeaderLines Include="using System.Reflection%3b" />
|
2020-06-23 21:47:07 +08:00
|
|
|
|
<HeaderLines Include="using System.Resources%3b" />
|
2020-06-22 17:14:00 +08:00
|
|
|
|
<HeaderLines Include="using System.Runtime.InteropServices%3b" />
|
|
|
|
|
<HeaderLines Include="using System.Windows%3b" />
|
|
|
|
|
<HeaderLines Include="[assembly: AssemblyTitle("$(AssemblyTitle)")]" />
|
2020-06-23 21:47:07 +08:00
|
|
|
|
<HeaderLines Include="[assembly: AssemblyDescription("$(AssemblyDescription)")]" />
|
2020-06-22 17:14:00 +08:00
|
|
|
|
<HeaderLines Include="[assembly: AssemblyConfiguration("")]" />
|
|
|
|
|
<HeaderLines Include="[assembly: AssemblyCompany("$(AssemblyCompany)")]" />
|
|
|
|
|
<HeaderLines Include="[assembly: AssemblyCopyright("$(AssemblyCopyright)")]" />
|
2020-06-23 21:47:07 +08:00
|
|
|
|
<HeaderLines Include="[assembly: AssemblyProduct("$(AssemblyProduct)")]" />
|
2020-06-22 17:14:00 +08:00
|
|
|
|
<HeaderLines Include="[assembly: AssemblyTrademark("")]" />
|
|
|
|
|
<HeaderLines Include="[assembly: AssemblyCulture("")]" />
|
|
|
|
|
<HeaderLines Include="[assembly: ComVisible(false)]" />
|
2020-06-23 21:47:07 +08:00
|
|
|
|
<HeaderLines Include="[assembly: NeutralResourcesLanguage("en-US")]" />
|
2020-06-22 17:14:00 +08:00
|
|
|
|
<HeaderLines Include="[assembly: AssemblyVersion("$(Version).0")]" />
|
|
|
|
|
<HeaderLines Include="[assembly: AssemblyFileVersion("$(Version).0")]" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<WriteLinesToFile File="Generated Files\AssemblyInfo.cs" Lines="@(HeaderLines)" Overwrite="true" Encoding="Unicode" WriteOnlyWhenDifferent="true" />
|
|
|
|
|
</Target>
|
2020-04-22 03:55:04 +08:00
|
|
|
|
<PropertyGroup>
|
2020-05-02 04:17:30 +08:00
|
|
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
2020-04-22 03:55:04 +08:00
|
|
|
|
<Platform Condition=" '$(Platform)' == '' ">x64</Platform>
|
|
|
|
|
<ProjectGuid>{A7D5099E-F0FD-4BF3-8522-5A682759F915}</ProjectGuid>
|
|
|
|
|
<OutputType>AppContainerExe</OutputType>
|
|
|
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
|
|
|
<RootNamespace>Microsoft.PowerToys.Settings.UI</RootNamespace>
|
|
|
|
|
<AssemblyName>Microsoft.PowerToys.Settings.UI</AssemblyName>
|
|
|
|
|
<DefaultLanguage>en-US</DefaultLanguage>
|
|
|
|
|
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
|
|
|
|
|
<TargetPlatformVersion Condition=" '$(TargetPlatformVersion)' == '' ">10.0.18362.0</TargetPlatformVersion>
|
|
|
|
|
<TargetPlatformMinVersion>10.0.18362.0</TargetPlatformMinVersion>
|
|
|
|
|
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
|
|
|
|
|
<FileAlignment>512</FileAlignment>
|
|
|
|
|
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
|
|
|
|
<WindowsXamlEnableOverview>true</WindowsXamlEnableOverview>
|
|
|
|
|
<AppxPackageSigningEnabled>false</AppxPackageSigningEnabled>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
|
|
|
|
|
<DebugSymbols>true</DebugSymbols>
|
|
|
|
|
<OutputPath>..\..\..\x64\Debug\SettingsUI\</OutputPath>
|
|
|
|
|
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
|
|
|
|
<NoWarn>;2008</NoWarn>
|
|
|
|
|
<DebugType>full</DebugType>
|
|
|
|
|
<PlatformTarget>x64</PlatformTarget>
|
|
|
|
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
|
|
|
<ErrorReport>prompt</ErrorReport>
|
|
|
|
|
<Prefer32Bit>true</Prefer32Bit>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
|
|
|
|
<OutputPath>..\..\..\x64\Release\SettingsUI\</OutputPath>
|
|
|
|
|
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
|
|
|
|
|
<Optimize>true</Optimize>
|
|
|
|
|
<NoWarn>;2008</NoWarn>
|
|
|
|
|
<DebugType>pdbonly</DebugType>
|
|
|
|
|
<PlatformTarget>x64</PlatformTarget>
|
|
|
|
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
|
|
|
<ErrorReport>prompt</ErrorReport>
|
|
|
|
|
<Prefer32Bit>true</Prefer32Bit>
|
|
|
|
|
<UseDotNetNativeToolchain>false</UseDotNetNativeToolchain>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Compile Include="..\..\codeAnalysis\GlobalSuppressions.cs">
|
|
|
|
|
<Link>GlobalSuppressions.cs</Link>
|
|
|
|
|
</Compile>
|
|
|
|
|
<Compile Include="Activation\ActivationHandler.cs" />
|
|
|
|
|
<Compile Include="Activation\DefaultActivationHandler.cs" />
|
|
|
|
|
<Compile Include="App.xaml.cs">
|
|
|
|
|
<DependentUpon>App.xaml</DependentUpon>
|
|
|
|
|
</Compile>
|
|
|
|
|
<Compile Include="Behaviors\NavigationViewHeaderBehavior.cs" />
|
|
|
|
|
<Compile Include="Behaviors\NavigationViewHeaderMode.cs" />
|
|
|
|
|
<Compile Include="Controls\HotkeySettingsControl.xaml.cs">
|
|
|
|
|
<DependentUpon>HotkeySettingsControl.xaml</DependentUpon>
|
|
|
|
|
</Compile>
|
2020-06-22 17:14:00 +08:00
|
|
|
|
<Compile Include="Generated Files\AssemblyInfo.cs">
|
|
|
|
|
<SubType>Code</SubType>
|
|
|
|
|
</Compile>
|
2020-04-22 03:55:04 +08:00
|
|
|
|
<Compile Include="Helpers\NavHelper.cs" />
|
|
|
|
|
<Compile Include="Helpers\Observable.cs" />
|
|
|
|
|
<Compile Include="Helpers\RelayCommand.cs" />
|
|
|
|
|
<Compile Include="Helpers\ResourceExtensions.cs" />
|
|
|
|
|
<Compile Include="Services\ActivationService.cs" />
|
|
|
|
|
<Compile Include="Services\NavigationService.cs" />
|
|
|
|
|
<Compile Include="ViewModels\Commands\ButtonClickCommand.cs" />
|
|
|
|
|
<Compile Include="ViewModels\GeneralViewModel.cs" />
|
|
|
|
|
<Compile Include="ViewModels\FancyZonesViewModel.cs" />
|
|
|
|
|
<Compile Include="ViewModels\ImageResizerViewModel.cs" />
|
|
|
|
|
<Compile Include="ViewModels\KeyboardManagerViewModel.cs" />
|
|
|
|
|
<Compile Include="ViewModels\PowerPreviewViewModel.cs" />
|
|
|
|
|
<Compile Include="ViewModels\PowerRenameViewModel.cs" />
|
|
|
|
|
<Compile Include="ViewModels\PowerLauncherViewModel.cs" />
|
|
|
|
|
<Compile Include="ViewModels\ShellViewModel.cs" />
|
|
|
|
|
<Compile Include="ViewModels\ShortcutGuideViewModel.cs" />
|
|
|
|
|
<Compile Include="Views\GeneralPage.xaml.cs">
|
|
|
|
|
<DependentUpon>GeneralPage.xaml</DependentUpon>
|
|
|
|
|
</Compile>
|
|
|
|
|
<Compile Include="Views\ImageResizerPage.xaml.cs">
|
|
|
|
|
<DependentUpon>ImageResizerPage.xaml</DependentUpon>
|
|
|
|
|
</Compile>
|
|
|
|
|
<Compile Include="Views\KeyboardManagerPage.xaml.cs">
|
|
|
|
|
<DependentUpon>KeyboardManagerPage.xaml</DependentUpon>
|
|
|
|
|
</Compile>
|
|
|
|
|
<Compile Include="Views\PowerLauncherPage.xaml.cs">
|
|
|
|
|
<DependentUpon>PowerLauncherPage.xaml</DependentUpon>
|
|
|
|
|
</Compile>
|
|
|
|
|
<Compile Include="Views\PowerPreviewPage.xaml.cs">
|
|
|
|
|
<DependentUpon>PowerPreviewPage.xaml</DependentUpon>
|
|
|
|
|
</Compile>
|
|
|
|
|
<Compile Include="Views\FancyZonesPage.xaml.cs">
|
|
|
|
|
<DependentUpon>FancyZonesPage.xaml</DependentUpon>
|
|
|
|
|
</Compile>
|
|
|
|
|
<Compile Include="Views\PowerRenamePage.xaml.cs">
|
|
|
|
|
<DependentUpon>PowerRenamePage.xaml</DependentUpon>
|
|
|
|
|
</Compile>
|
|
|
|
|
<Compile Include="Views\ShellPage.xaml.cs">
|
|
|
|
|
<DependentUpon>ShellPage.xaml</DependentUpon>
|
|
|
|
|
</Compile>
|
|
|
|
|
<Compile Include="Views\ShortcutGuidePage.xaml.cs">
|
|
|
|
|
<DependentUpon>ShortcutGuidePage.xaml</DependentUpon>
|
|
|
|
|
</Compile>
|
2020-04-23 05:55:45 +08:00
|
|
|
|
<Compile Include="Views\VisibleIfNotEmpty.cs" />
|
2020-04-22 03:55:04 +08:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<AppxManifest Include="Package.appxmanifest">
|
|
|
|
|
<SubType>Designer</SubType>
|
|
|
|
|
</AppxManifest>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Content Include="Assets\Logo.scale-200.png" />
|
|
|
|
|
<Content Include="Assets\SplashScreen.png" />
|
|
|
|
|
<Content Include="Assets\Square150x150Logo.scale-200.png" />
|
|
|
|
|
<Content Include="Assets\Square44x44Logo.scale-200.png" />
|
|
|
|
|
<Content Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" />
|
2020-05-02 04:17:30 +08:00
|
|
|
|
<Content Include="Assets\StoreLogo.png" />
|
2020-04-22 03:55:04 +08:00
|
|
|
|
<Content Include="Assets\StoreLogo.scale-100.png" />
|
|
|
|
|
<Content Include="Assets\Wide310x150Logo.scale-200.png" />
|
|
|
|
|
<Content Include="Properties\Default.rd.xml" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<ApplicationDefinition Include="App.xaml">
|
|
|
|
|
<Generator>MSBuild:Compile</Generator>
|
|
|
|
|
<SubType>Designer</SubType>
|
|
|
|
|
</ApplicationDefinition>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
|
2020-05-26 22:42:04 +08:00
|
|
|
|
<Version>6.2.10</Version>
|
2020-04-22 03:55:04 +08:00
|
|
|
|
</PackageReference>
|
|
|
|
|
<PackageReference Include="Microsoft.Toolkit.Uwp.UI">
|
2020-06-23 06:23:39 +08:00
|
|
|
|
<Version>6.1.0</Version>
|
2020-04-22 03:55:04 +08:00
|
|
|
|
</PackageReference>
|
|
|
|
|
<PackageReference Include="Microsoft.Toolkit.Win32.UI.XamlApplication">
|
2020-06-23 06:23:39 +08:00
|
|
|
|
<Version>6.1.0</Version>
|
2020-04-22 03:55:04 +08:00
|
|
|
|
</PackageReference>
|
|
|
|
|
<PackageReference Include="Microsoft.UI.Xaml">
|
2020-06-23 06:23:39 +08:00
|
|
|
|
<Version>2.5.0-prerelease.200609001</Version>
|
2020-04-22 03:55:04 +08:00
|
|
|
|
</PackageReference>
|
|
|
|
|
<PackageReference Include="Microsoft.Xaml.Behaviors.Uwp.Managed">
|
|
|
|
|
<Version>2.0.1</Version>
|
|
|
|
|
</PackageReference>
|
|
|
|
|
<PackageReference Include="Newtonsoft.Json">
|
|
|
|
|
<Version>12.0.3</Version>
|
|
|
|
|
</PackageReference>
|
|
|
|
|
<PackageReference Include="StyleCop.Analyzers">
|
|
|
|
|
<Version>1.1.118</Version>
|
|
|
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
|
|
|
<PrivateAssets>all</PrivateAssets>
|
|
|
|
|
</PackageReference>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<PRIResource Include="Strings\en-us\Resources.resw" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Page Include="Controls\HotkeySettingsControl.xaml">
|
|
|
|
|
<Generator>MSBuild:Compile</Generator>
|
|
|
|
|
<SubType>Designer</SubType>
|
|
|
|
|
</Page>
|
2020-05-12 03:36:55 +08:00
|
|
|
|
<Page Include="Styles\Button.xaml">
|
|
|
|
|
<SubType>Designer</SubType>
|
|
|
|
|
<Generator>MSBuild:Compile</Generator>
|
|
|
|
|
</Page>
|
2020-04-22 03:55:04 +08:00
|
|
|
|
<Page Include="Styles\Page.xaml">
|
|
|
|
|
<Generator>MSBuild:Compile</Generator>
|
|
|
|
|
<SubType>Designer</SubType>
|
|
|
|
|
</Page>
|
|
|
|
|
<Page Include="Styles\TextBlock.xaml">
|
|
|
|
|
<Generator>MSBuild:Compile</Generator>
|
|
|
|
|
<SubType>Designer</SubType>
|
|
|
|
|
</Page>
|
|
|
|
|
<Page Include="Styles\_Colors.xaml">
|
|
|
|
|
<Generator>MSBuild:Compile</Generator>
|
|
|
|
|
<SubType>Designer</SubType>
|
|
|
|
|
</Page>
|
|
|
|
|
<Page Include="Styles\_FontSizes.xaml">
|
|
|
|
|
<Generator>MSBuild:Compile</Generator>
|
|
|
|
|
<SubType>Designer</SubType>
|
|
|
|
|
</Page>
|
|
|
|
|
<Page Include="Styles\_Sizes.xaml">
|
|
|
|
|
<SubType>Designer</SubType>
|
|
|
|
|
<Generator>MSBuild:Compile</Generator>
|
|
|
|
|
</Page>
|
|
|
|
|
<Page Include="Styles\_Thickness.xaml">
|
|
|
|
|
<Generator>MSBuild:Compile</Generator>
|
|
|
|
|
<SubType>Designer</SubType>
|
|
|
|
|
</Page>
|
|
|
|
|
<Page Include="Views\GeneralPage.xaml">
|
|
|
|
|
<SubType>Designer</SubType>
|
|
|
|
|
<Generator>MSBuild:Compile</Generator>
|
|
|
|
|
</Page>
|
|
|
|
|
<Page Include="Views\ImageResizerPage.xaml">
|
|
|
|
|
<SubType>Designer</SubType>
|
|
|
|
|
<Generator>MSBuild:Compile</Generator>
|
|
|
|
|
</Page>
|
|
|
|
|
<Page Include="Views\KeyboardManagerPage.xaml">
|
|
|
|
|
<SubType>Designer</SubType>
|
|
|
|
|
<Generator>MSBuild:Compile</Generator>
|
|
|
|
|
</Page>
|
|
|
|
|
<Page Include="Views\PowerLauncherPage.xaml">
|
|
|
|
|
<SubType>Designer</SubType>
|
|
|
|
|
<Generator>MSBuild:Compile</Generator>
|
|
|
|
|
</Page>
|
|
|
|
|
<Page Include="Views\FancyZonesPage.xaml">
|
|
|
|
|
<Generator>MSBuild:Compile</Generator>
|
|
|
|
|
<SubType>Designer</SubType>
|
|
|
|
|
</Page>
|
|
|
|
|
<Page Include="Views\PowerPreviewPage.xaml">
|
|
|
|
|
<Generator>MSBuild:Compile</Generator>
|
|
|
|
|
<SubType>Designer</SubType>
|
|
|
|
|
</Page>
|
|
|
|
|
<Page Include="Views\PowerRenamePage.xaml">
|
|
|
|
|
<SubType>Designer</SubType>
|
|
|
|
|
<Generator>MSBuild:Compile</Generator>
|
|
|
|
|
</Page>
|
|
|
|
|
<Page Include="Views\ShellPage.xaml">
|
|
|
|
|
<Generator>MSBuild:Compile</Generator>
|
|
|
|
|
<SubType>Designer</SubType>
|
|
|
|
|
</Page>
|
|
|
|
|
<Page Include="Views\ShortcutGuidePage.xaml">
|
|
|
|
|
<SubType>Designer</SubType>
|
|
|
|
|
<Generator>MSBuild:Compile</Generator>
|
|
|
|
|
</Page>
|
|
|
|
|
</ItemGroup>
|
2020-05-06 01:02:31 +08:00
|
|
|
|
<ItemGroup>
|
|
|
|
|
<AdditionalFiles Include="..\..\codeAnalysis\StyleCop.json">
|
|
|
|
|
<Link>StyleCop.json</Link>
|
|
|
|
|
</AdditionalFiles>
|
|
|
|
|
</ItemGroup>
|
2020-04-22 03:55:04 +08:00
|
|
|
|
<ItemGroup>
|
2020-05-16 00:08:39 +08:00
|
|
|
|
<ProjectReference Include="..\..\common\ManagedTelemetry\Telemetry\Telemetry.csproj">
|
|
|
|
|
<Project>{5d00d290-4016-4cfe-9e41-1e7c724509ba}</Project>
|
|
|
|
|
<Name>Telemetry</Name>
|
|
|
|
|
</ProjectReference>
|
2020-04-22 03:55:04 +08:00
|
|
|
|
<ProjectReference Include="..\Microsoft.PowerToys.Settings.UI.Lib\Microsoft.PowerToys.Settings.UI.Lib.csproj">
|
|
|
|
|
<Project>{b1bcc8c6-46b5-4bfa-8f22-20f32d99ec6a}</Project>
|
|
|
|
|
<Name>Microsoft.PowerToys.Settings.UI.Lib</Name>
|
|
|
|
|
</ProjectReference>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' < '14.0' ">
|
|
|
|
|
<VisualStudioVersion>14.0</VisualStudioVersion>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<EnableTypeInfoReflection>false</EnableTypeInfoReflection>
|
|
|
|
|
<EnableXBindDiagnostics>false</EnableXBindDiagnostics>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
|
2020-05-02 04:17:30 +08:00
|
|
|
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
|
|
|
|
Other similar extension points exist, see Microsoft.Common.targets.
|
|
|
|
|
<Target Name="BeforeBuild">
|
|
|
|
|
</Target>
|
|
|
|
|
<Target Name="AfterBuild">
|
|
|
|
|
</Target>
|
2020-04-22 03:55:04 +08:00
|
|
|
|
-->
|
2020-03-07 09:46:51 +08:00
|
|
|
|
</Project>
|