<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
    <ProductVersion>8.0.30703</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{27F36EFA-6438-462F-A31A-2B2ABC214EBF}</ProjectGuid>
    <OutputType>WinExe</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>TankIconMaker</RootNamespace>
    <AssemblyName>TankIconMaker</AssemblyName>
    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
    <TargetFrameworkProfile>Client</TargetFrameworkProfile>
    <FileAlignment>512</FileAlignment>
    <ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
    <OutputPath>builds\$(Configuration)\</OutputPath>
    <IntermediateOutputPath>builds\$(Configuration)\obj-$(AssemblyName)\</IntermediateOutputPath>
    <BaseIntermediateOutputPath>builds\$(Configuration)\obj-$(AssemblyName)\</BaseIntermediateOutputPath>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
    <DebugSymbols>true</DebugSymbols>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <DebugType>full</DebugType>
    <PlatformTarget>AnyCPU</PlatformTarget>
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
    <DefineConstants>TRACE</DefineConstants>
    <Optimize>true</Optimize>
    <DebugType>pdbonly</DebugType>
    <PlatformTarget>AnyCPU</PlatformTarget>
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  </PropertyGroup>
  <PropertyGroup>
    <ApplicationIcon>Resources\Graphics\icon.ico</ApplicationIcon>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="Microsoft.CSharp" />
    <Reference Include="ICSharpCode.SharpZipLib, Version=0.86.5.0, Culture=neutral, processorArchitecture=MSIL">
      <HintPath>ThirdParty\ICSharpCode.SharpZipLib.Patched.0.86.5.1\lib\net20\ICSharpCode.SharpZipLib.dll</HintPath>
      <Private>True</Private>
    </Reference>
    <Reference Include="Magick.NET-Q8-AnyCPU, Version=7.14.3.0, Culture=neutral, processorArchitecture=MSIL">
      <HintPath>ThirdParty\Magick.NET-Q8-AnyCPU.7.14.3\lib\net40\Magick.NET-Q8-AnyCPU.dll</HintPath>
      <Private>True</Private>
    </Reference>
    <Reference Include="TeximpNet, Version=1.2.0.0, Culture=neutral, processorArchitecture=MSIL">
      <HintPath>ThirdParty\TeximpNet.1.2.0\lib\net40\TeximpNet.dll</HintPath>
      <Private>True</Private>
    </Reference>
    <Reference Include="Ookii.Dialogs.Wpf, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
      <HintPath>ThirdParty\Ookii.Dialogs.Wpf.dll</HintPath>
      <Private>True</Private>
    </Reference>
    <Reference Include="WPFToolkit.Extended, Version=1.6.0.0, Culture=neutral, processorArchitecture=MSIL">
      <HintPath>ThirdParty\WPFToolkit.Extended.dll</HintPath>
      <Private>True</Private>
    </Reference>
    <Reference Include="RT.Util, Version=1.0.1542.0, Culture=neutral, processorArchitecture=MSIL">
      <HintPath>packages\RT.Util.1.0.1542\lib\net40-client\RT.Util.dll</HintPath>
      <Private>True</Private>
    </Reference>
    <Reference Include="System" />
    <Reference Include="System.Drawing" />
    <Reference Include="System.Core" />
    <Reference Include="System.Windows.Forms" />
    <Reference Include="System.Xaml">
      <RequiredTargetFramework>4.0</RequiredTargetFramework>
    </Reference>
    <Reference Include="System.XML" />
    <Reference Include="System.Xml.Linq" />
    <Reference Include="WindowsBase" />
    <Reference Include="PresentationCore" />
    <Reference Include="PresentationFramework" />
  </ItemGroup>
  <ItemGroup>
    <Page Include="AnchorEditor.xaml">
      <Generator>MSBuild:Compile</Generator>
      <SubType>Designer</SubType>
    </Page>
    <Page Include="App.xaml">
      <Generator>MSBuild:Compile</Generator>
      <SubType>Designer</SubType>
    </Page>
    <Compile Include="AddWindow.xaml.cs">
      <DependentUpon>AddWindow.xaml</DependentUpon>
    </Compile>
    <Compile Include="AnchorEditor.xaml.cs">
      <DependentUpon>AnchorEditor.xaml</DependentUpon>
    </Compile>
    <Compile Include="AtlasBuilder.cs" />
    <Compile Include="Bitmap.cs" />
    <Compile Include="BitmapResampler.cs">
      <SubType>Code</SubType>
    </Compile>
    <Compile Include="Calculator.cs" />
    <Compile Include="CheckListWindow.xaml.cs">
      <DependentUpon>CheckListWindow.xaml</DependentUpon>
    </Compile>
    <Compile Include="BulkSaveSettingsWindow.xaml.cs">
      <DependentUpon>BulkSaveSettingsWindow.xaml</DependentUpon>
    </Compile>
    <Compile Include="Effects\ClipEffect.cs" />
    <Compile Include="Effects\AdaptiveBlurEffect.cs" />
    <Compile Include="Effects\AdaptiveSharpenEffect.cs" />
    <Compile Include="Effects\MaskLayerEffect.cs" />
    <Compile Include="Effects\GammaEffect.cs" />
    <Compile Include="Effects\BrightnessContrastEffect.cs" />
    <Compile Include="Effects\InvertEffect.cs" />
    <Compile Include="Effects\LevelEffect.cs" />
    <Compile Include="Effects\NormalizeBrightnessEffect.cs" />
    <Compile Include="Effects\HueSaturationLightnessEffect.cs" />
    <Compile Include="Effects\MotionBlurEffect.cs" />
    <Compile Include="Effects\RadialBlurEffect.cs" />
    <Compile Include="Effects\RotateEffect.cs" />
    <Compile Include="Effects\SelectiveBlurEffect.cs" />
    <Compile Include="Effects\SharpenEffect.cs" />
    <Compile Include="Effects\UnsharpMaskEffect.cs" />
    <Compile Include="Effects\WaveEffect.cs" />
    <Compile Include="Effects\NormalizeEffect.cs" />
    <Compile Include="Effects\FlipEffect.cs" />
    <Compile Include="Effects\SizePosEffect.cs" />
    <Compile Include="FilenameEditor.xaml.cs">
      <DependentUpon>FilenameEditor.xaml</DependentUpon>
    </Compile>
    <Compile Include="Effects\PixelOutlineEffect.cs" />
    <Compile Include="Cache.cs" />
    <Compile Include="Layers\TestLayer.cs" />
    <Compile Include="PathTemplateWindow.xaml.cs">
      <DependentUpon>PathTemplateWindow.xaml</DependentUpon>
    </Compile>
    <Compile Include="SaveType.cs" />
    <Compile Include="Selector.cs" />
    <Compile Include="DataSourceEditor.xaml.cs">
      <DependentUpon>DataSourceEditor.xaml</DependentUpon>
    </Compile>
    <Compile Include="Effect.cs" />
    <Compile Include="Effects\ColorizeEffect.cs" />
    <Compile Include="Effects\GaussianBlurEffect.cs" />
    <Compile Include="Effects\ShadowEffect.cs" />
    <Compile Include="Effects\OpacityEffect.cs" />
    <Compile Include="Effects\ShiftEffect.cs" />
    <Compile Include="Layers\BkgDarkAgentLayer.cs" />
    <Compile Include="Layers\ImageLayer.cs" />
    <Compile Include="Layer.cs" />
    <Compile Include="Layers\TextLayer.cs" />
    <Compile Include="PromptWindow.xaml.cs">
      <DependentUpon>PromptWindow.xaml</DependentUpon>
    </Compile>
    <Compile Include="SettingsMigrations\ISettingsMigration.cs" />
    <Compile Include="SettingsMigrations\Migrator.cs" />
    <Compile Include="SettingsMigrations\SettingsMigration_v51.cs" />
    <Compile Include="Style.cs" />
    <Compile Include="OldFiles.cs" />
    <Compile Include="Translation.cs" />
    <Compile Include="Translation.g.cs" />
    <Compile Include="UtColors.cs" />
    <Compile Include="Settings.cs" />
    <Compile Include="Targa.cs" />
    <Compile Include="UtGraphics.cs" />
    <Compile Include="UtMisc.cs" />
    <Compile Include="UtSerialize.cs" />
    <Page Include="AddWindow.xaml">
      <SubType>Designer</SubType>
      <Generator>MSBuild:Compile</Generator>
    </Page>
    <Page Include="CheckListWindow.xaml">
      <SubType>Designer</SubType>
      <Generator>MSBuild:Compile</Generator>
    </Page>
    <Page Include="BulkSaveSettingsWindow.xaml">
      <Generator>MSBuild:Compile</Generator>
      <SubType>Designer</SubType>
    </Page>
    <Page Include="FilenameEditor.xaml">
      <Generator>MSBuild:Compile</Generator>
      <SubType>Designer</SubType>
    </Page>
    <Page Include="DataSourceEditor.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="Data.cs" />
    <Compile Include="MainWindow.xaml.cs">
      <DependentUpon>MainWindow.xaml</DependentUpon>
      <SubType>Code</SubType>
    </Compile>
    <Page Include="PathTemplateWindow.xaml">
      <Generator>MSBuild:Compile</Generator>
      <SubType>Designer</SubType>
    </Page>
    <Page Include="PromptWindow.xaml">
      <Generator>MSBuild:Compile</Generator>
      <SubType>Designer</SubType>
    </Page>
  </ItemGroup>
  <ItemGroup>
    <Compile Include="Properties\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>ResXFileCodeGenerator</Generator>
      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
    </EmbeddedResource>
    <None Include="packages.config" />
    <None Include="Properties\Settings.settings">
      <Generator>SettingsSingleFileGenerator</Generator>
      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
    </None>
    <AppDesigner Include="Properties\" />
  </ItemGroup>
  <ItemGroup>
    <Resource Include="Resources\Graphics\icon.ico" />
    <Resource Include="Resources\Graphics\warning.png" />
    <Resource Include="Resources\Graphics\upvote.png" />
    <Resource Include="Resources\Graphics\upvote-down.png" />
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Include="Resources\BuiltInStyles\Black_Spy.xml" />
    <EmbeddedResource Include="Resources\BuiltInStyles\Original.xml" />
    <EmbeddedResource Include="Resources\BuiltInStyles\Dark Agent.xml" />
    <EmbeddedResource Include="Resources\BuiltInStyles\Dark Agent 2.xml" />
    <EmbeddedResource Include="Resources\BuiltInStyles\Dark Agent Tree.xml" />
    <EmbeddedResource Include="Resources\BuiltInStyles\DemoStyle.xml" />
    <EmbeddedResource Include="Resources\BuiltInStyles\Current.xml" />
    <EmbeddedResource Include="Resources\BuiltInStyles\HARDicons Colored.xml" />
    <EmbeddedResource Include="Resources\BuiltInStyles\HARDicons.xml" />
    <EmbeddedResource Include="Resources\BuiltInStyles\Aslain.xml" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="WotDataLib\WotDataLib.csproj">
      <Project>{77e86e2b-89df-43d2-8efa-6eccd961465e}</Project>
      <Name>WotDataLib</Name>
    </ProjectReference>
    <ProjectReference Include="WpfCrutches\WpfCrutches.csproj">
      <Project>{07420e58-8087-48fb-9c24-ae0dfd2a3ad7}</Project>
      <Name>WpfCrutches</Name>
    </ProjectReference>
  </ItemGroup>
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  <Target Name="AfterBuild">
    <ItemGroup>
      <Resources Include="Resources\*" Exclude="Resources\*-En-*" />
      <Images Include="Resources\Images\*" />
      <Licenses Include="ThirdParty\license-*" />
      <Translations Include="Resources\Translations\*" />
      <FreeImage Include="ThirdParty\TeximpNet.1.2.0\native\FreeImage\*" />
      <NvidiaTextureTools Include="ThirdParty\TeximpNet.1.2.0\native\NvidiaTextureTools\*" />
    </ItemGroup>
    <Copy SourceFiles="@(Resources)" DestinationFolder="$(OutputPath)\Data" />
    <Copy SourceFiles="@(Images)" DestinationFolder="$(OutputPath)\Images" />
    <Copy SourceFiles="@(Licenses)" DestinationFolder="$(OutputPath)\Licenses" />
    <Copy SourceFiles="@(Translations)" DestinationFolder="$(OutputPath)\Translations" />
    <Copy SourceFiles="WpfCrutches\License.txt" DestinationFiles="$(OutputPath)\Licenses\license-WpfCrutches.txt" />
    <Copy SourceFiles="@(FreeImage)" DestinationFolder="$(OutputPath)" />
    <Copy SourceFiles="@(NvidiaTextureTools)" DestinationFolder="$(OutputPath)" />
    <Copy SourceFiles="Resources\Backgrounds\Abbey.jpg" DestinationFiles="$(OutputPath)\Backgrounds\Abbey (Монастырь).jpg" />
    <Copy SourceFiles="Resources\Backgrounds\Karelia.jpg" DestinationFiles="$(OutputPath)\Backgrounds\Karelia (Карелия).jpg" />
    <Copy SourceFiles="Resources\Backgrounds\Lakeville.jpg" DestinationFiles="$(OutputPath)\Backgrounds\Lakeville (Ласвилль).jpg" />
    <Copy SourceFiles="Resources\Backgrounds\Ruinberg.jpg" DestinationFiles="$(OutputPath)\Backgrounds\Ruinberg (Руинберг).jpg" />
    <Copy SourceFiles="Resources\Backgrounds\Sand River.jpg" DestinationFiles="$(OutputPath)\Backgrounds\Sand River (Песчаная Река).jpg" />
    <Copy SourceFiles="Resources\Backgrounds\Westfield.jpg" DestinationFiles="$(OutputPath)\Backgrounds\Westfield (Вестфилд).jpg" />
  </Target>
  <PropertyGroup>
    <PostBuildEvent>"$(TargetPath)" --post-build-check "$(SolutionDir)."</PostBuildEvent>
  </PropertyGroup>
</Project>