<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  <Import Project="..\..\..\..\..\installer\Version.props" />
  <!-- We don't have GenerateAssemblyInfo task until we use .net core, so we generate it with WriteLinesToFile -->
  <PropertyGroup>
    <AssemblyTitle>FancyZonesEditor</AssemblyTitle>
    <AssemblyCompany>Microsoft Corp.</AssemblyCompany>
    <AssemblyCopyright>Copyright (C) 2019 Microsoft Corp.</AssemblyCopyright>
  </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.Runtime.InteropServices%3b" />
      <HeaderLines Include="using System.Windows%3b" />
      <HeaderLines Include="[assembly: AssemblyTitle(&quot;$(AssemblyTitle)&quot;)]" />
      <HeaderLines Include="[assembly: AssemblyDescription(&quot;&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;$(AssemblyTitle)&quot;)]" />
      <HeaderLines Include="[assembly: AssemblyTrademark(&quot;&quot;)]" />
      <HeaderLines Include="[assembly: AssemblyCulture(&quot;&quot;)]" />
      <HeaderLines Include="[assembly: ComVisible(false)]" />
      <HeaderLines Include="[assembly: ThemeInfo(ResourceDictionaryLocation.None, ResourceDictionaryLocation.SourceAssembly)]" />
      <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)' == '' ">AnyCPU</Platform>
    <ProjectGuid>{5CCC8468-DEC8-4D36-99D4-5C891BEBD481}</ProjectGuid>
    <OutputType>WinExe</OutputType>
    <RootNamespace>FancyZonesEditor</RootNamespace>
    <AssemblyName>FancyZonesEditor</AssemblyName>
    <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
    <FileAlignment>512</FileAlignment>
    <ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
    <WarningLevel>4</WarningLevel>
    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
    <TargetFrameworkProfile />
    <NuGetPackageImportStamp>
    </NuGetPackageImportStamp>
    <IntermediateOutputPath>$(SolutionDir)$(Platform)\$(Configuration)\obj\$(AssemblyName)\</IntermediateOutputPath>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
    <PlatformTarget>x64</PlatformTarget>
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>..\..\..\..\..\x64\Debug\modules\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <Prefer32Bit>false</Prefer32Bit>
    <CodeAnalysisRuleSet>..\..\..\..\codeAnalysis\Rules.ruleset</CodeAnalysisRuleSet>
    <RunCodeAnalysis>false</RunCodeAnalysis>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
    <PlatformTarget>x64</PlatformTarget>
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>$(SolutionDir)$(Platform)\$(Configuration)\modules\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <RunCodeAnalysis>false</RunCodeAnalysis>
    <CodeAnalysisRuleSet>..\..\..\..\codeAnalysis\Rules.ruleset</CodeAnalysisRuleSet>
  </PropertyGroup>
  <PropertyGroup>
    <ApplicationIcon>images\FancyZonesEditor.ico</ApplicationIcon>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="System" />
    <Reference Include="System.ComponentModel.DataAnnotations" />
    <Reference Include="System.Configuration" />
    <Reference Include="System.Data" />
    <Reference Include="System.Drawing" />
    <Reference Include="System.Runtime.Serialization" />
    <Reference Include="System.Windows.Forms" />
    <Reference Include="System.Xml" />
    <Reference Include="Microsoft.CSharp" />
    <Reference Include="System.Core" />
    <Reference Include="System.Xml.Linq" />
    <Reference Include="System.Data.DataSetExtensions" />
    <Reference Include="System.Net.Http" />
    <Reference Include="System.Xaml">
      <RequiredTargetFramework>4.0</RequiredTargetFramework>
    </Reference>
    <Reference Include="WindowsBase" />
    <Reference Include="PresentationCore" />
    <Reference Include="PresentationFramework" />
  </ItemGroup>
  <ItemGroup>
    <ApplicationDefinition Include="App.xaml">
      <Generator>MSBuild:Compile</Generator>
      <SubType>Designer</SubType>
    </ApplicationDefinition>
    <Compile Include="DashCaseNamingPolicy.cs" />
    <Compile Include="StringUtils.cs" />
    <Compile Include="Converters\BooleanToBrushConverter.xaml.cs" />
    <Compile Include="Converters\BooleanToIntConverter.xaml.cs" />
    <Compile Include="CanvasEditor.xaml.cs">
      <DependentUpon>CanvasEditor.xaml</DependentUpon>
    </Compile>
    <Compile Include="EditorWindow.cs" />
    <Compile Include="GlobalSuppressions.cs" />
    <Compile Include="GridEditor.xaml.cs">
      <DependentUpon>GridEditor.xaml</DependentUpon>
    </Compile>
    <Compile Include="GridResizer.xaml.cs">
      <DependentUpon>GridResizer.xaml</DependentUpon>
    </Compile>
    <Compile Include="LayoutPreview.xaml.cs">
      <DependentUpon>LayoutPreview.xaml</DependentUpon>
    </Compile>
    <Compile Include="Models\CanvasLayoutModel.cs" />
    <Compile Include="Models\GridLayoutModel.cs" />
    <Compile Include="Models\LayoutModel.cs" />
    <Compile Include="Models\Settings.cs" />
    <Compile Include="EditorOverlay.xaml.cs">
      <DependentUpon>EditorOverlay.xaml</DependentUpon>
    </Compile>
    <Compile Include="Converters\ModelToVisibilityConverter.xaml.cs" />
    <Compile Include="Native.cs" />
    <Compile Include="RowColInfo.cs" />
    <Compile Include="GridEditorWindow.xaml.cs">
      <DependentUpon>GridEditorWindow.xaml</DependentUpon>
    </Compile>
    <Compile Include="SplitEventArgs.cs" />
    <Compile Include="WindowLayout.xaml.cs">
      <DependentUpon>WindowLayout.xaml</DependentUpon>
    </Compile>
    <Compile Include="CanvasEditorWindow.xaml.cs">
      <DependentUpon>CanvasEditorWindow.xaml</DependentUpon>
    </Compile>
    <Compile Include="CanvasZone.xaml.cs">
      <DependentUpon>CanvasZone.xaml</DependentUpon>
    </Compile>
    <Compile Include="GridZone.xaml.cs">
      <DependentUpon>GridZone.xaml</DependentUpon>
    </Compile>
    <Page Include="CanvasEditor.xaml">
      <SubType>Designer</SubType>
      <Generator>MSBuild:Compile</Generator>
    </Page>
    <Page Include="GridEditor.xaml">
      <SubType>Designer</SubType>
      <Generator>MSBuild:Compile</Generator>
    </Page>
    <Page Include="GridResizer.xaml">
      <SubType>Designer</SubType>
      <Generator>MSBuild:Compile</Generator>
    </Page>
    <Page Include="LayoutPreview.xaml">
      <SubType>Designer</SubType>
      <Generator>MSBuild:Compile</Generator>
    </Page>
    <Page Include="MainWindow.xaml">
      <Generator>MSBuild:Compile</Generator>
      <SubType>Designer</SubType>
    </Page>
    <Compile Include="App.xaml.cs">
      <DependentUpon>App.xaml</DependentUpon>
      <SubType>Code</SubType>
    </Compile>
    <Compile Include="MainWindow.xaml.cs">
      <DependentUpon>MainWindow.xaml</DependentUpon>
      <SubType>Code</SubType>
    </Compile>
    <Page Include="EditorOverlay.xaml">
      <SubType>Designer</SubType>
      <Generator>MSBuild:Compile</Generator>
    </Page>
    <Page Include="GridEditorWindow.xaml">
      <SubType>Designer</SubType>
      <Generator>MSBuild:Compile</Generator>
    </Page>
    <Page Include="WindowLayout.xaml">
      <SubType>Designer</SubType>
      <Generator>MSBuild:Compile</Generator>
    </Page>
    <Page Include="CanvasEditorWindow.xaml">
      <SubType>Designer</SubType>
      <Generator>MSBuild:Compile</Generator>
    </Page>
    <Page Include="CanvasZone.xaml">
      <Generator>MSBuild:Compile</Generator>
      <SubType>Designer</SubType>
    </Page>
    <Page Include="GridZone.xaml">
      <SubType>Designer</SubType>
      <Generator>MSBuild:Compile</Generator>
    </Page>
  </ItemGroup>
  <ItemGroup>
    <Compile Include="Generated Files\AssemblyInfo.cs">
      <SubType>Code</SubType>
    </Compile>
    <Compile Include="Properties\Resources.Designer.cs">
      <AutoGen>True</AutoGen>
      <DesignTime>True</DesignTime>
      <DependentUpon>Resources.resx</DependentUpon>
    </Compile>
    <Compile Include="Properties\Settings.Designer.cs">
      <AutoGen>True</AutoGen>
      <DependentUpon>Settings.settings</DependentUpon>
      <DesignTimeSharedInput>True</DesignTimeSharedInput>
    </Compile>
    <EmbeddedResource Include="Properties\Resources.resx">
      <Generator>PublicResXFileCodeGenerator</Generator>
      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
    </EmbeddedResource>
    <None Include="Properties\Settings.settings">
      <Generator>SettingsSingleFileGenerator</Generator>
      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
    </None>
  </ItemGroup>
  <ItemGroup>
    <AdditionalFiles Include="..\..\..\..\codeAnalysis\StyleCop.json">
      <Link>StyleCop.json</Link>
    </AdditionalFiles>
    <None Include="App.config" />
  </ItemGroup>
  <ItemGroup>
    <PackageReference Include="MahApps.Metro">
      <Version>2.0.0-alpha0455</Version>
    </PackageReference>
    <PackageReference Include="System.Text.Json">
      <Version>4.7.0</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>
    <Resource Include="images\ChromeClose.png" />
    <Resource Include="images\Delete.png" />
  </ItemGroup>
  <ItemGroup>
    <Resource Include="images\Merge.png" />
  </ItemGroup>
  <ItemGroup>
    <Resource Include="images\FancyZonesEditor.ico" />
  </ItemGroup>
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>