<?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')" />
  <Import Project="..\..\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>
    <AssemblyDescription>PowerToys Settings UI</AssemblyDescription>
    <AssemblyCompany>Microsoft Corp.</AssemblyCompany>
    <AssemblyCopyright>Copyright (C) 2020 Microsoft Corp.</AssemblyCopyright>
    <AssemblyProduct>PowerToys</AssemblyProduct>
    <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
    <AppxBundlePlatforms>x64</AppxBundlePlatforms>
  </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" />
      <HeaderLines Include="using System.Resources%3b" />
      <HeaderLines Include="using System.Runtime.InteropServices%3b" />
      <HeaderLines Include="using System.Windows%3b" />
      <HeaderLines Include="[assembly: AssemblyTitle(&quot;$(AssemblyTitle)&quot;)]" />
      <HeaderLines Include="[assembly: AssemblyDescription(&quot;$(AssemblyDescription)&quot;)]" />
      <HeaderLines Include="[assembly: AssemblyConfiguration(&quot;&quot;)]" />
      <HeaderLines Include="[assembly: AssemblyCompany(&quot;$(AssemblyCompany)&quot;)]" />
      <HeaderLines Include="[assembly: AssemblyCopyright(&quot;$(AssemblyCopyright)&quot;)]" />
      <HeaderLines Include="[assembly: AssemblyProduct(&quot;$(AssemblyProduct)&quot;)]" />
      <HeaderLines Include="[assembly: AssemblyTrademark(&quot;&quot;)]" />
      <HeaderLines Include="[assembly: AssemblyCulture(&quot;&quot;)]" />
      <HeaderLines Include="[assembly: ComVisible(false)]" />
      <HeaderLines Include="[assembly: NeutralResourcesLanguage(&quot;en-US&quot;)]" />
      <HeaderLines Include="[assembly: AssemblyVersion(&quot;$(Version).0&quot;)]" />
      <HeaderLines Include="[assembly: AssemblyFileVersion(&quot;$(Version).0&quot;)]" />
    </ItemGroup>
    <WriteLinesToFile File="Generated Files\AssemblyInfo.cs" Lines="@(HeaderLines)" Overwrite="true" Encoding="Unicode" WriteOnlyWhenDifferent="true" />
  </Target>
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <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>8305;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>8305;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>
    <Compile Include="Converters\ModuleEnabledToForegroundConverter.cs" />
    <Compile Include="Generated Files\AssemblyInfo.cs">
      <SubType>Code</SubType>
    </Compile>
    <Compile Include="Helpers\NativeKeyboardHelper.cs" />
    <Compile Include="Helpers\NativeMethods.cs" />
    <Compile Include="Helpers\NavHelper.cs" />
    <Compile Include="Helpers\Observable.cs" />
    <Compile Include="Helpers\RelayCommand.cs" />
    <Compile Include="Helpers\ResourceExtensions.cs" />
    <Compile Include="ICoreWindowInterop.cs" />
    <Compile Include="Interop.cs" />
    <Compile Include="Services\ActivationService.cs" />
    <Compile Include="Services\NavigationService.cs" />
    <Compile Include="ViewModels\Commands\ButtonClickCommand.cs" />
    <Compile Include="ViewModels\ShellViewModel.cs" />
    <Compile Include="Views\ColorPickerPage.xaml.cs">
      <DependentUpon>ColorPickerPage.xaml</DependentUpon>
    </Compile>
    <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>
    <Compile Include="Views\VisibleIfNotEmpty.cs" />
  </ItemGroup>
  <ItemGroup>
    <AppxManifest Include="Package.appxmanifest">
      <SubType>Designer</SubType>
    </AppxManifest>
  </ItemGroup>
  <ItemGroup>
    <Content Include="Assets\Logo.scale-200.png" />
    <Content Include="Assets\Modules\ColorPicker.png" />
    <Content Include="Assets\Modules\FancyZones.png" />
    <Content Include="Assets\Modules\ImageResizer.png" />
    <Content Include="Assets\Modules\KBM.png" />
    <Content Include="Assets\Modules\PowerLauncher.png" />
    <Content Include="Assets\Modules\PowerPreview.png" />
    <Content Include="Assets\Modules\PowerRename.png" />
    <Content Include="Assets\Modules\PT.png" />
    <Content Include="Assets\Modules\ShortcutGuide.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" />
    <Content Include="Assets\StoreLogo.png" />
    <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">
      <Version>6.2.10</Version>
    </PackageReference>
    <PackageReference Include="Microsoft.Toolkit.Uwp.UI">
      <Version>6.1.1</Version>
    </PackageReference>
    <PackageReference Include="Microsoft.Toolkit.Win32.UI.XamlApplication">
      <Version>6.1.2</Version>
    </PackageReference>
    <PackageReference Include="Microsoft.UI.Xaml">
      <Version>2.5.0-prerelease.200923002</Version>
    </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>
    <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers">
      <Version>3.3.0</Version>
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
      <PrivateAssets>all</PrivateAssets>
    </PackageReference>
  </ItemGroup>
  <ItemGroup>
    <PRIResource Include="Strings\*\Resources.resw" />
  </ItemGroup>
  <ItemGroup>
    <Page Include="Controls\HotkeySettingsControl.xaml">
      <Generator>MSBuild:Compile</Generator>
      <SubType>Designer</SubType>
    </Page>
    <Page Include="Styles\Button.xaml">
      <SubType>Designer</SubType>
      <Generator>MSBuild:Compile</Generator>
    </Page>
    <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\ColorPickerPage.xaml">
      <SubType>Designer</SubType>
      <Generator>MSBuild:Compile</Generator>
    </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>
  <ItemGroup>
    <AdditionalFiles Include="..\..\codeAnalysis\StyleCop.json">
      <Link>StyleCop.json</Link>
    </AdditionalFiles>
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\..\common\ManagedTelemetry\Telemetry\ManagedTelemetry.csproj">
      <Project>{5d00d290-4016-4cfe-9e41-1e7c724509ba}</Project>
      <Name>ManagedTelemetry</Name>
    </ProjectReference>
    <ProjectReference Include="..\Microsoft.PowerToys.Settings.UI.Library\Microsoft.PowerToys.Settings.UI.Library.csproj">
      <Project>{b1bcc8c6-46b5-4bfa-8f22-20f32d99ec6a}</Project>
      <Name>Microsoft.PowerToys.Settings.UI.Library</Name>
    </ProjectReference>
  </ItemGroup>
  <PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '14.0' ">
    <VisualStudioVersion>14.0</VisualStudioVersion>
  </PropertyGroup>
  <PropertyGroup>
    <EnableTypeInfoReflection>false</EnableTypeInfoReflection>
    <EnableXBindDiagnostics>false</EnableXBindDiagnostics>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|Win32'">
    <LangVersion>8.0</LangVersion>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|Win32'">
    <LangVersion>8.0</LangVersion>
  </PropertyGroup>
  <Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
  <!-- 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>
  -->
</Project>