<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProductVersion>9.0.21022</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{A2923D42-C38B-4B12-8CBA-B8D93D6B13A3}</ProjectGuid>
    <OutputType>WinExe</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>Handbrake</RootNamespace>
    <AssemblyName>Handbrake</AssemblyName>
    <ApplicationIcon>handbrakepineapple.ico</ApplicationIcon>
    <StartupObject>Handbrake.Program</StartupObject>
    <TargetZone>LocalIntranet</TargetZone>
    <GenerateManifests>false</GenerateManifests>
    <FileUpgradeFlags>
    </FileUpgradeFlags>
    <UpgradeBackupLocation>
    </UpgradeBackupLocation>
    <OldToolsVersion>3.5</OldToolsVersion>
    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
    <IsWebBootstrapper>false</IsWebBootstrapper>
    <SignManifests>false</SignManifests>
    <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>
    <UseApplicationTrust>false</UseApplicationTrust>
    <BootstrapperEnabled>true</BootstrapperEnabled>
    <TargetFrameworkProfile>Client</TargetFrameworkProfile>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <LangVersion>default</LangVersion>
    <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
    <NoStdLib>false</NoStdLib>
    <DocumentationFile>
    </DocumentationFile>
    <PlatformTarget>x86</PlatformTarget>
    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugType>full</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\Release\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
    <UseVSHostingProcess>false</UseVSHostingProcess>
    <DocumentationFile>
    </DocumentationFile>
    <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
    <NoStdLib>false</NoStdLib>
    <DebugSymbols>true</DebugSymbols>
    <FileAlignment>512</FileAlignment>
    <PlatformTarget>x86</PlatformTarget>
    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
    <PlatformTarget>x86</PlatformTarget>
    <OutputPath>bin\x86\Debug\</OutputPath>
    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
    <PlatformTarget>x86</PlatformTarget>
    <OutputPath>bin\x86\Release\</OutputPath>
    <UseVSHostingProcess>false</UseVSHostingProcess>
    <DefineConstants>TRACE;DEBUG</DefineConstants>
    <Optimize>true</Optimize>
    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Build|AnyCPU' ">
    <OutputPath>bin\Build\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <DebugType>pdbonly</DebugType>
    <PlatformTarget>x86</PlatformTarget>
    <ErrorReport>prompt</ErrorReport>
    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Build|x86' ">
    <OutputPath>bin\x86\Build\</OutputPath>
    <PlatformTarget>x86</PlatformTarget>
    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Install|AnyCPU'">
    <DebugSymbols>true</DebugSymbols>
    <OutputPath>bin\Install\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
    <Optimize>true</Optimize>
    <DebugType>full</DebugType>
    <PlatformTarget>x86</PlatformTarget>
    <CodeAnalysisLogFile>bin\Release\Handbrake.exe.CodeAnalysisLog.xml</CodeAnalysisLogFile>
    <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
    <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
    <UseVSHostingProcess>false</UseVSHostingProcess>
    <ErrorReport>prompt</ErrorReport>
    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    <CodeAnalysisRuleSetDirectories>;c:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
    <CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>
    <CodeAnalysisRuleDirectories>;c:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
    <CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
    <CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Install|x86'">
    <OutputPath>bin\x86\Install\</OutputPath>
    <DefineConstants>TRACE;DEBUG</DefineConstants>
    <Optimize>true</Optimize>
    <PlatformTarget>x86</PlatformTarget>
    <CodeAnalysisLogFile>bin\x86\Release\Handbrake.exe.CodeAnalysisLog.xml</CodeAnalysisLogFile>
    <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
    <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
    <UseVSHostingProcess>false</UseVSHostingProcess>
    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    <CodeAnalysisRuleSetDirectories>;c:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
    <CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>
    <CodeAnalysisRuleDirectories>;c:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
    <CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
    <CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'NightlyBuild|AnyCPU'">
    <OutputPath>bin\NightlyBuild\</OutputPath>
    <Optimize>true</Optimize>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'NightlyBuild|x86'">
    <OutputPath>bin\x86\NightlyBuild\</OutputPath>
    <DefineConstants>TRACE;DEBUG</DefineConstants>
    <Optimize>true</Optimize>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="AxInterop.QTOControlLib">
      <HintPath>libraries\AxInterop.QTOControlLib.dll</HintPath>
    </Reference>
    <Reference Include="Growl.Connector, Version=2.0.0.0, Culture=neutral, PublicKeyToken=980c2339411be384, processorArchitecture=x86">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>libraries\Growl.Connector.dll</HintPath>
      <Private>True</Private>
    </Reference>
    <Reference Include="Growl.CoreLibrary, Version=2.0.0.0, Culture=neutral, PublicKeyToken=13e59d82e007b064, processorArchitecture=x86">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>libraries\Growl.CoreLibrary.dll</HintPath>
      <Private>True</Private>
    </Reference>
    <Reference Include="PresentationCore">
      <RequiredTargetFramework>3.0</RequiredTargetFramework>
    </Reference>
    <Reference Include="PresentationFramework">
      <RequiredTargetFramework>3.0</RequiredTargetFramework>
    </Reference>
    <Reference Include="System" />
    <Reference Include="System.Core">
      <RequiredTargetFramework>3.5</RequiredTargetFramework>
    </Reference>
    <Reference Include="System.Data" />
    <Reference Include="System.Deployment" />
    <Reference Include="System.Drawing" />
    <Reference Include="System.Messaging" />
    <Reference Include="System.Windows.Forms" />
    <Reference Include="System.XML" />
    <Reference Include="WindowsBase" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="Controls\AudioPanel.cs">
      <SubType>UserControl</SubType>
    </Compile>
    <Compile Include="Controls\AudioPanel.Designer.cs">
      <DependentUpon>AudioPanel.cs</DependentUpon>
    </Compile>
    <Compile Include="Controls\Filters.cs">
      <SubType>UserControl</SubType>
    </Compile>
    <Compile Include="Controls\Filters.Designer.cs">
      <DependentUpon>Filters.cs</DependentUpon>
    </Compile>
    <Compile Include="Controls\PictureSettings.cs">
      <SubType>UserControl</SubType>
    </Compile>
    <Compile Include="Controls\PictureSettings.designer.cs">
      <DependentUpon>PictureSettings.cs</DependentUpon>
    </Compile>
    <Compile Include="Controls\Subtitles.cs">
      <SubType>UserControl</SubType>
    </Compile>
    <Compile Include="Controls\Subtitles.Designer.cs">
      <DependentUpon>Subtitles.cs</DependentUpon>
    </Compile>
    <Compile Include="Controls\x264Panel.cs">
      <SubType>UserControl</SubType>
    </Compile>
    <Compile Include="Controls\x264Panel.Designer.cs">
      <DependentUpon>x264Panel.cs</DependentUpon>
    </Compile>
    <Compile Include="Functions\ToolStripRenderOverride.cs" />
    <Compile Include="Model\ActivityLogMode.cs" />
    <Compile Include="Model\QueryPictureSettingsMode.cs" />
    <Compile Include="Model\QueryEncodeMode.cs" />
    <Compile Include="Properties\AssemblyInfo.cs" />
    <Compile Include="frmPreview.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="frmPreview.Designer.cs">
      <DependentUpon>frmPreview.cs</DependentUpon>
    </Compile>
    <Compile Include="frmAbout.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="frmAbout.Designer.cs">
      <DependentUpon>frmAbout.cs</DependentUpon>
    </Compile>
    <Compile Include="frmAddPreset.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="frmAddPreset.Designer.cs">
      <DependentUpon>frmAddPreset.cs</DependentUpon>
    </Compile>
    <Compile Include="frmMain.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="frmMain.Designer.cs">
      <DependentUpon>frmMain.cs</DependentUpon>
    </Compile>
    <Compile Include="frmOptions.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="frmOptions.Designer.cs">
      <DependentUpon>frmOptions.cs</DependentUpon>
    </Compile>
    <Compile Include="frmQueue.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="frmQueue.Designer.cs">
      <DependentUpon>frmQueue.cs</DependentUpon>
    </Compile>
    <Compile Include="Functions\PresetLoader.cs" />
    <Compile Include="Functions\QueryGenerator.cs" />
    <Compile Include="Functions\Main.cs" />
    <Compile Include="frmActivityWindow.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="frmActivityWindow.Designer.cs">
      <DependentUpon>frmActivityWindow.cs</DependentUpon>
    </Compile>
    <Compile Include="Model\SourceType.cs" />
    <Compile Include="Program.cs" />
    <Compile Include="ToolWindows\BatchAdd.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="ToolWindows\BatchAdd.Designer.cs">
      <DependentUpon>BatchAdd.cs</DependentUpon>
    </Compile>
    <Compile Include="ToolWindows\PreviewOverlay.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="ToolWindows\PreviewOverlay.Designer.cs">
      <DependentUpon>PreviewOverlay.cs</DependentUpon>
    </Compile>
    <Compile Include="ToolWindows\TitleSpecificScan.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="ToolWindows\TitleSpecificScan.Designer.cs">
      <DependentUpon>TitleSpecificScan.cs</DependentUpon>
    </Compile>
    <EmbeddedResource Include="Controls\AudioPanel.resx">
      <DependentUpon>AudioPanel.cs</DependentUpon>
      <SubType>Designer</SubType>
    </EmbeddedResource>
    <EmbeddedResource Include="Controls\Filters.resx">
      <DependentUpon>Filters.cs</DependentUpon>
      <SubType>Designer</SubType>
    </EmbeddedResource>
    <EmbeddedResource Include="Controls\PictureSettings.resx">
      <DependentUpon>PictureSettings.cs</DependentUpon>
      <SubType>Designer</SubType>
    </EmbeddedResource>
    <EmbeddedResource Include="Controls\Subtitles.resx">
      <DependentUpon>Subtitles.cs</DependentUpon>
      <SubType>Designer</SubType>
    </EmbeddedResource>
    <EmbeddedResource Include="Controls\x264Panel.resx">
      <DependentUpon>x264Panel.cs</DependentUpon>
      <SubType>Designer</SubType>
    </EmbeddedResource>
    <EmbeddedResource Include="frmPreview.resx">
      <DependentUpon>frmPreview.cs</DependentUpon>
      <SubType>Designer</SubType>
    </EmbeddedResource>
    <EmbeddedResource Include="frmAbout.resx">
      <SubType>Designer</SubType>
      <DependentUpon>frmAbout.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="frmAddPreset.resx">
      <DependentUpon>frmAddPreset.cs</DependentUpon>
      <SubType>Designer</SubType>
    </EmbeddedResource>
    <EmbeddedResource Include="frmMain.resx">
      <SubType>Designer</SubType>
      <DependentUpon>frmMain.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="frmOptions.resx">
      <SubType>Designer</SubType>
      <DependentUpon>frmOptions.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="frmQueue.resx">
      <SubType>Designer</SubType>
      <DependentUpon>frmQueue.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="frmActivityWindow.resx">
      <DependentUpon>frmActivityWindow.cs</DependentUpon>
      <SubType>Designer</SubType>
    </EmbeddedResource>
    <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>
    <EmbeddedResource Include="ToolWindows\BatchAdd.resx">
      <DependentUpon>BatchAdd.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="ToolWindows\PreviewOverlay.resx">
      <DependentUpon>PreviewOverlay.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="ToolWindows\TitleSpecificScan.resx">
      <DependentUpon>TitleSpecificScan.cs</DependentUpon>
    </EmbeddedResource>
    <None Include="app.config" />
    <None Include="Installer\MakeNightly.nsi.tmpl" />
    <None Include="Installer\MakeNightly.nsi" />
    <None Include="Installer\Installer.nsi" />
    <None Include="Properties\Settings.settings">
      <Generator>SettingsSingleFileGenerator</Generator>
      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
    </None>
    <Compile Include="Properties\Settings.Designer.cs">
      <AutoGen>True</AutoGen>
      <DependentUpon>Settings.settings</DependentUpon>
      <DesignTimeSharedInput>True</DesignTimeSharedInput>
    </Compile>
  </ItemGroup>
  <ItemGroup>
    <Content Include="handbrakepineapple.ico" />
    <None Include="Properties\AssemblyInfo.cs.tmpl" />
    <None Include="Resources\logo64.png" />
    <None Include="Resources\logo128.png" />
    <None Include="Resources\ActivityWindow.png" />
    <None Include="Resources\AddToQueue.png" />
    <Content Include="Resources\ActivityWindow_small.png" />
    <None Include="Resources\AddToQueue_small.png" />
    <None Include="Resources\Add16.png" />
    <Content Include="Resources\copy.png" />
    <Content Include="Resources\disc_small.png" />
    <None Include="Resources\hb32.png" />
    <None Include="Resources\hb16.png" />
    <None Include="Resources\Help16.png" />
    <None Include="Resources\info16.png" />
    <None Include="Resources\folder.png" />
    <None Include="Resources\download.png" />
    <None Include="Resources\ErrorX.png" />
    <None Include="Resources\Help32.png" />
    <None Include="Resources\Help24.png" />
    <None Include="Resources\Options24.png" />
    <Content Include="Resources\Output_Small.png" />
    <None Include="Resources\Pause.png" />
    <None Include="Resources\Play.png" />
    <None Include="Resources\picture.png" />
    <None Include="Resources\Play_small.png" />
    <Content Include="Resources\Pref_Small.png" />
    <Content Include="Resources\Queue.png" />
    <Content Include="Resources\Queue_Small.png" />
    <Content Include="Resources\window.png" />
    <None Include="Resources\save.png" />
    <None Include="Resources\stop.png" />
    <None Include="Resources\Movies.png" />
    <None Include="Resources\General Preferences.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.2.0">
      <Visible>False</Visible>
      <ProductName>.NET Framework 2.0 %28x86%29</ProductName>
      <Install>false</Install>
    </BootstrapperPackage>
    <BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
      <Visible>False</Visible>
      <ProductName>.NET Framework 3.0 %28x86%29</ProductName>
      <Install>false</Install>
    </BootstrapperPackage>
    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
      <Visible>False</Visible>
      <ProductName>.NET Framework 3.5</ProductName>
      <Install>true</Install>
    </BootstrapperPackage>
    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
      <Visible>False</Visible>
      <ProductName>.NET Framework 3.5 SP1</ProductName>
      <Install>false</Install>
    </BootstrapperPackage>
    <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
      <Visible>False</Visible>
      <ProductName>Windows Installer 3.1</ProductName>
      <Install>true</Install>
    </BootstrapperPackage>
  </ItemGroup>
  <ItemGroup>
    <COMReference Include="QTOControlLib">
      <Guid>{7B92F833-027D-402B-BFF9-A67697366F4E}</Guid>
      <VersionMajor>1</VersionMajor>
      <VersionMinor>0</VersionMinor>
      <Lcid>0</Lcid>
      <WrapperTool>tlbimp</WrapperTool>
      <Isolated>False</Isolated>
    </COMReference>
    <COMReference Include="QTOLibrary">
      <Guid>{29866AED-1E14-417D-BA0F-1A2BE6F5A19E}</Guid>
      <VersionMajor>1</VersionMajor>
      <VersionMinor>0</VersionMinor>
      <Lcid>0</Lcid>
      <WrapperTool>tlbimp</WrapperTool>
      <Isolated>False</Isolated>
    </COMReference>
    <COMReference Include="stdole">
      <Guid>{00020430-0000-0000-C000-000000000046}</Guid>
      <VersionMajor>2</VersionMajor>
      <VersionMinor>0</VersionMinor>
      <Lcid>0</Lcid>
      <WrapperTool>primary</WrapperTool>
      <Isolated>False</Isolated>
    </COMReference>
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="HandBrake.ApplicationServices\HandBrake.ApplicationServices.csproj">
      <Project>{087A2BA8-BAC2-4577-A46F-07FF9D420016}</Project>
      <Name>HandBrake.ApplicationServices</Name>
    </ProjectReference>
    <ProjectReference Include="HandBrake.Framework\HandBrake.Framework.csproj">
      <Project>{49AD42C1-BF9B-4D78-A644-020878FAADE6}</Project>
      <Name>HandBrake.Framework</Name>
    </ProjectReference>
  </ItemGroup>
  <Import Project="$(MSBuildBinPath)\Microsoft.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>
  -->
  <Import Project="$(ProgramFiles)\MSBuild\Microsoft\StyleCop\v4.4\Microsoft.StyleCop.targets" />
  <PropertyGroup Condition=" '$(Configuration)' == 'Install' ">
    <PostBuildEvent>
	makensis Installer.nsi
	</PostBuildEvent>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)' == 'NightlyBuild' ">
    <PostBuildEvent>
	cd ../../
	copy Installer\MakeNightly.nsi bin\NightlyBuild /Y
	copy handbrakepineapple.ico bin\NightlyBuild /Y
	xcopy doc bin\NightlyBuild\doc /I /Y
	cd bin\NightlyBuild
	makensis MakeNightly.nsi
	</PostBuildEvent>
  </PropertyGroup>
  <PropertyGroup>
    <PreBuildEvent>
	subwcrev.exe "$(ProjectDir)." "$(ProjectDir)Properties\AssemblyInfo.cs.tmpl" "$(ProjectDir)Properties\AssemblyInfo.cs"
	subwcrev.exe "$(ProjectDir)." "$(ProjectDir)Properties\AssemblyInfo.cs.tmpl" "$(ProjectDir)Properties\AssemblyInfo.cs"
subwcrev.exe "$(ProjectDir)." "$(ProjectDir)Installer\MakeNightly.nsi.tmpl" "$(ProjectDir)Installer\MakeNightly.nsi"</PreBuildEvent>
  </PropertyGroup>
</Project>