<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProductVersion>9.0.30729</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{199C12C4-3EEF-4D08-BAC3-F2A62BCF969C}</ProjectGuid>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>AeroWizard</RootNamespace>
    <AssemblyName>AeroWizard</AssemblyName>
    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
    <FileAlignment>512</FileAlignment>
    <StartupObject>
    </StartupObject>
    <SccProjectName>
    </SccProjectName>
    <SccLocalPath>
    </SccLocalPath>
    <SccAuxPath>
    </SccAuxPath>
    <SccProvider>
    </SccProvider>
    <FileUpgradeFlags>
    </FileUpgradeFlags>
    <UpgradeBackupLocation>
    </UpgradeBackupLocation>
    <OldToolsVersion>3.5</OldToolsVersion>
    <PublishUrl>publish\</PublishUrl>
    <Install>true</Install>
    <InstallFrom>Disk</InstallFrom>
    <UpdateEnabled>false</UpdateEnabled>
    <UpdateMode>Foreground</UpdateMode>
    <UpdateInterval>7</UpdateInterval>
    <UpdateIntervalUnits>Days</UpdateIntervalUnits>
    <UpdatePeriodically>false</UpdatePeriodically>
    <UpdateRequired>false</UpdateRequired>
    <MapFileExtensions>true</MapFileExtensions>
    <ApplicationRevision>0</ApplicationRevision>
    <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
    <IsWebBootstrapper>false</IsWebBootstrapper>
    <UseApplicationTrust>false</UseApplicationTrust>
    <BootstrapperEnabled>true</BootstrapperEnabled>
    <TargetFrameworkProfile>
    </TargetFrameworkProfile>
    <NuGetPackageImportStamp>
    </NuGetPackageImportStamp>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <DefineConstants>
    </DefineConstants>
    <OutputPath>bin\Debug\</OutputPath>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    <PlatformTarget>AnyCPU</PlatformTarget>
    <Prefer32Bit>false</Prefer32Bit>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <DefineConstants>TRACE;</DefineConstants>
    <OutputPath>bin\$(Configuration)\$(TargetFrameworkVersion)</OutputPath>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <DocumentationFile>bin\Release\$(TargetFrameworkVersion)\AeroWizard.XML</DocumentationFile>
    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    <Prefer32Bit>false</Prefer32Bit>
  </PropertyGroup>
  <PropertyGroup>
    <!-- Adding a custom constant will auto-magically append a comma and space to the pre-built constants.    -->
    <!-- Move the comma delimiter to the end of each constant and remove the trailing comma when we're done.  -->
    <DefineConstants Condition=" !$(DefineConstants.Contains(', NET')) ">$(DefineConstants)$(TargetFrameworkVersion.Replace("v", "NET").Replace(".", "")), </DefineConstants>
    <DefineConstants Condition=" $(DefineConstants.Contains(', NET')) ">$(DefineConstants.Remove($(DefineConstants.LastIndexOf(", NET"))))$(TargetFrameworkVersion.Replace("v", "NET").Replace(".", "")), </DefineConstants>
    <!-- <DefineConstants Condition=" $(TargetFrameworkVersion.Replace('v', '')) &gt;= 2.0 ">$(DefineConstants)NET_20_OR_GREATER, </DefineConstants>
    <DefineConstants Condition=" $(TargetFrameworkVersion.Replace('v', '')) &gt;= 3.5 ">$(DefineConstants)NET_35_OR_GREATER, </DefineConstants>
    <DefineConstants Condition=" $(TargetFrameworkVersion.Replace('v', '')) &gt;= 4.0 ">$(DefineConstants)NET_40_OR_GREATER</DefineConstants> -->
    <DefineConstants Condition=" $(DefineConstants.EndsWith(', ')) ">$(DefineConstants.Remove($(DefineConstants.LastIndexOf(", "))))</DefineConstants>
  </PropertyGroup>
  <PropertyGroup>
    <SignAssembly>false</SignAssembly>
  </PropertyGroup>
  <PropertyGroup>
    <AssemblyOriginatorKeyFile>
    </AssemblyOriginatorKeyFile>
  </PropertyGroup>
  <PropertyGroup>
    <ApplicationIcon>Resources\WizardHat.ico</ApplicationIcon>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
      <HintPath>..\..\packages\Newtonsoft.Json.12.0.1\lib\net40\Newtonsoft.Json.dll</HintPath>
      <Private>True</Private>
    </Reference>
    <Reference Include="System" />
    <Reference Include="System.Data.SQLite, Version=1.0.110.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
      <HintPath>..\..\packages\System.Data.SQLite.Core.1.0.110.0\lib\net40\System.Data.SQLite.dll</HintPath>
      <Private>True</Private>
    </Reference>
    <Reference Include="System.Design" />
    <Reference Include="System.Drawing" />
    <Reference Include="System.Windows.Forms" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="ExtensionAttributeFor.NET_2.0.cs" Condition=" $(TargetFrameworkVersion.Replace('v', '')) &lt; 3.5 " />
    <Compile Include="GenericDesigner.cs" />
    <Compile Include="GlassExtenderProvider.cs">
      <SubType>Component</SubType>
    </Compile>
    <Compile Include="GlobalSuppressions.cs" />
    <Compile Include="Native\ButtonExtension.cs" />
    <Compile Include="Native\InteropUtil.cs" />
    <Compile Include="Native\LOGFONT.cs" />
    <Compile Include="Native\SafeDCHandles.cs" />
    <Compile Include="Native\SafeHGlobalHandle.cs" />
    <Compile Include="Native\SHELL32.cs" />
    <Compile Include="Native\ShObjIdl.cs" />
    <Compile Include="Native\SIZE.cs" />
    <Compile Include="Native\TaskbarList.cs" />
    <Compile Include="Native\BITMAPINFO.cs" />
    <Compile Include="Native\DesktopWindowManager.cs" />
    <Compile Include="Native\DWMAPI.cs" />
    <Compile Include="Native\GDI32.cs" />
    <Compile Include="Native\RECT.cs" />
    <Compile Include="Native\USER32.cs" />
    <Compile Include="Native\UXTHEME.cs" />
    <Compile Include="Native\UXTHEME_GDI.cs" />
    <Compile Include="Native\VisualStylesRendererExtension.cs" />
    <Compile Include="Native\VisualStylesRendererExtensionGDI.cs" />
    <Compile Include="Native\WIN32_FIND_DATA.cs" />
    <Compile Include="StepList.cs">
      <SubType>Component</SubType>
    </Compile>
    <Compile Include="StepWizardControl.cs">
      <SubType>Component</SubType>
    </Compile>
    <Compile Include="VisualStyleElementEx.cs" />
    <Compile Include="ControlExtension.cs" />
    <Compile Include="ThemedImageButton.cs">
      <SubType>Component</SubType>
    </Compile>
    <Compile Include="EventedList.cs" />
    <Compile Include="ThemedTableLayoutPanel.cs">
      <SubType>Component</SubType>
    </Compile>
    <Compile Include="WizardPageContainer.cs">
      <SubType>Component</SubType>
    </Compile>
    <Compile Include="WizardPageContainerDesigner.cs" />
    <Compile Include="WizardPageCollection.cs" />
    <Compile Include="WizardPageDesigner.cs" />
    <Compile Include="Properties\AssemblyInfo.cs" />
    <EmbeddedResource Include="Properties\Resources.resx">
      <Generator>ResXFileCodeGenerator</Generator>
      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
      <SubType>Designer</SubType>
    </EmbeddedResource>
    <Compile Include="Properties\Resources.Designer.cs">
      <AutoGen>True</AutoGen>
      <DependentUpon>Resources.resx</DependentUpon>
      <DesignTime>True</DesignTime>
    </Compile>
    <Compile Include="ThemedLabel.cs">
      <SubType>Component</SubType>
    </Compile>
    <Compile Include="WizardControl.cs">
      <SubType>Component</SubType>
    </Compile>
    <Compile Include="WizardControl.designer.cs">
      <DependentUpon>WizardControl.cs</DependentUpon>
    </Compile>
    <Compile Include="WizardControlDesigner.cs" />
    <Compile Include="WizardPage.cs">
      <SubType>Component</SubType>
    </Compile>
    <Compile Include="WizardPage.designer.cs">
      <DependentUpon>WizardPage.cs</DependentUpon>
    </Compile>
    <EmbeddedResource Include="StepWizardControl.resx">
      <DependentUpon>StepWizardControl.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="WizardControl.bmp" />
    <EmbeddedResource Include="WizardControl.resx">
      <DependentUpon>WizardControl.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="GlassExtenderProvider.bmp" />
    <EmbeddedResource Include="StepWizardControl.bmp" />
    <EmbeddedResource Include="ThemedImageButton.bmp" />
    <EmbeddedResource Include="ThemedLabel.bmp" />
    <EmbeddedResource Include="ThemedTableLayoutPanel.bmp" />
  </ItemGroup>
  <ItemGroup>
    <None Include="packages.config" />
    <None Include="Resources\WizardHat.ico" />
    <None Include="Resources\BackBtnStrip.png" />
    <None Include="Resources\BackBtnStrip2.png" />
  </ItemGroup>
  <ItemGroup>
    <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
      <Visible>False</Visible>
      <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
      <Install>false</Install>
    </BootstrapperPackage>
    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
      <Visible>False</Visible>
      <ProductName>.NET Framework 3.5 SP1</ProductName>
      <Install>true</Install>
    </BootstrapperPackage>
    <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
      <Visible>False</Visible>
      <ProductName>Windows Installer 3.1</ProductName>
      <Install>true</Install>
    </BootstrapperPackage>
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\..\ScoutBase\ScoutBase.Core\ScoutBase.Core.csproj">
      <Project>{ee86e933-d883-4b18-80eb-0fba55ec67c6}</Project>
      <Name>ScoutBase.Core</Name>
    </ProjectReference>
  </ItemGroup>
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  <Import Project="$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets" Condition="'$(VSToolsPath)' != ''" />
  <!-- <PropertyGroup Condition=" '$(Configuration)|$(TargetFrameworkVersion)' == 'Release|v4.0' ">
    <PostBuildEvent>"$(SolutionDir)..\NuGet.exe" pack "$(ProjectDir)$(ProjectName).nuspec" /o "$(SolutionDir)AeroWizardTemplates\Packages"</PostBuildEvent>
  </PropertyGroup> -->
  <!-- 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>
  -->
  <UsingTask TaskName="ThreeDotVer" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll">
    <ParameterGroup>
      <AssemblyPath ParameterType="System.String" Required="true" />
      <Ver ParameterType="System.String" Output="true" />
    </ParameterGroup>
    <Task>
      <Using Namespace="System.Diagnostics" />
      <Code Type="Fragment" Language="cs">
        this.Ver = Version.Parse(FileVersionInfo.GetVersionInfo(this.AssemblyPath).FileVersion).ToString(3);
      </Code>
    </Task>
  </UsingTask>
  <Target Name="AfterBuild">
    <MSBuild Condition=" $(TargetFrameworkVersion.Replace(&quot;v&quot;,&quot;&quot;)) == 2.0 " Projects="$(MSBuildProjectFile)" Properties="TargetFrameworkVersion=v3.5" RunEachTargetSeparately="true" />
    <MSBuild Condition=" $(TargetFrameworkVersion.Replace(&quot;v&quot;,&quot;&quot;)) == 3.5 " Projects="$(MSBuildProjectFile)" Properties="TargetFrameworkVersion=v4.0" RunEachTargetSeparately="true" />
  </Target>
  <Import Project="..\..\packages\System.Data.SQLite.Core.1.0.110.0\build\net40\System.Data.SQLite.Core.targets" Condition="Exists('..\..\packages\System.Data.SQLite.Core.1.0.110.0\build\net40\System.Data.SQLite.Core.targets')" />
  <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
    <PropertyGroup>
      <ErrorText>Dieses Projekt verweist auf mindestens ein NuGet-Paket, das auf diesem Computer fehlt. Verwenden Sie die Wiederherstellung von NuGet-Paketen, um die fehlenden Dateien herunterzuladen. Weitere Informationen finden Sie unter "http://go.microsoft.com/fwlink/?LinkID=322105". Die fehlende Datei ist "{0}".</ErrorText>
    </PropertyGroup>
    <Error Condition="!Exists('..\..\packages\System.Data.SQLite.Core.1.0.110.0\build\net40\System.Data.SQLite.Core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\System.Data.SQLite.Core.1.0.110.0\build\net40\System.Data.SQLite.Core.targets'))" />
  </Target>
</Project>