OSDN Git Service

LinGui: make Help->Guide work on windows/mingw
[handbrake-jp/handbrake-jp-git.git] / win / C# / HandBrakeCS.csproj
index 4899db2..98c9d23 100644 (file)
@@ -1,4 +1,5 @@
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">\r
+<?xml version="1.0" encoding="utf-8"?>\r
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">\r
   <PropertyGroup>\r
     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>\r
     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>\r
@@ -17,8 +18,8 @@
     </FileUpgradeFlags>\r
     <UpgradeBackupLocation>\r
     </UpgradeBackupLocation>\r
-    <OldToolsVersion>2.0</OldToolsVersion>\r
-    <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>\r
+    <OldToolsVersion>3.5</OldToolsVersion>\r
+    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>\r
     <IsWebBootstrapper>false</IsWebBootstrapper>\r
     <SignManifests>false</SignManifests>\r
     <PublishUrl>publish\</PublishUrl>\r
     <ApplicationVersion>1.0.0.%2a</ApplicationVersion>\r
     <UseApplicationTrust>false</UseApplicationTrust>\r
     <BootstrapperEnabled>true</BootstrapperEnabled>\r
-    <TargetFrameworkSubset>\r
-    </TargetFrameworkSubset>\r
   </PropertyGroup>\r
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">\r
     <DebugSymbols>true</DebugSymbols>\r
     <DebugType>full</DebugType>\r
-    <Optimize>true</Optimize>\r
+    <Optimize>false</Optimize>\r
     <OutputPath>bin\Debug\</OutputPath>\r
     <DefineConstants>DEBUG;TRACE</DefineConstants>\r
     <ErrorReport>prompt</ErrorReport>\r
@@ -51,6 +50,8 @@
     <NoStdLib>false</NoStdLib>\r
     <DocumentationFile>\r
     </DocumentationFile>\r
+    <PlatformTarget>x86</PlatformTarget>\r
+    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>\r
   </PropertyGroup>\r
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">\r
     <DebugType>full</DebugType>\r
     <NoStdLib>false</NoStdLib>\r
     <DebugSymbols>true</DebugSymbols>\r
     <FileAlignment>512</FileAlignment>\r
-    <PlatformTarget>AnyCPU</PlatformTarget>\r
+    <PlatformTarget>x86</PlatformTarget>\r
+    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>\r
   </PropertyGroup>\r
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">\r
     <PlatformTarget>x86</PlatformTarget>\r
     <OutputPath>bin\x86\Debug\</OutputPath>\r
+    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>\r
   </PropertyGroup>\r
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">\r
     <PlatformTarget>x86</PlatformTarget>\r
     <OutputPath>bin\x86\Release\</OutputPath>\r
     <UseVSHostingProcess>false</UseVSHostingProcess>\r
+    <DefineConstants>TRACE;DEBUG</DefineConstants>\r
+    <Optimize>true</Optimize>\r
+    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>\r
   </PropertyGroup>\r
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Build|AnyCPU' ">\r
     <OutputPath>bin\Build\</OutputPath>\r
     <DefineConstants>TRACE</DefineConstants>\r
     <DebugType>pdbonly</DebugType>\r
-    <PlatformTarget>AnyCPU</PlatformTarget>\r
+    <PlatformTarget>x86</PlatformTarget>\r
     <ErrorReport>prompt</ErrorReport>\r
+    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>\r
   </PropertyGroup>\r
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Build|x86' ">\r
     <OutputPath>bin\x86\Build\</OutputPath>\r
     <PlatformTarget>x86</PlatformTarget>\r
+    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>\r
+  </PropertyGroup>\r
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Install|AnyCPU'">\r
+    <DebugSymbols>true</DebugSymbols>\r
+    <OutputPath>bin\Install\</OutputPath>\r
+    <DefineConstants>DEBUG;TRACE</DefineConstants>\r
+    <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>\r
+    <Optimize>true</Optimize>\r
+    <DebugType>full</DebugType>\r
+    <PlatformTarget>x86</PlatformTarget>\r
+    <CodeAnalysisLogFile>bin\Release\Handbrake.exe.CodeAnalysisLog.xml</CodeAnalysisLogFile>\r
+    <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>\r
+    <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>\r
+    <UseVSHostingProcess>false</UseVSHostingProcess>\r
+    <ErrorReport>prompt</ErrorReport>\r
+    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>\r
+    <CodeAnalysisRuleSetDirectories>;c:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>\r
+    <CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>\r
+    <CodeAnalysisRuleDirectories>;c:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>\r
+    <CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>\r
+    <CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules>\r
+  </PropertyGroup>\r
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Install|x86'">\r
+    <OutputPath>bin\x86\Install\</OutputPath>\r
+    <DefineConstants>TRACE;DEBUG</DefineConstants>\r
+    <Optimize>true</Optimize>\r
+    <PlatformTarget>x86</PlatformTarget>\r
+    <CodeAnalysisLogFile>bin\x86\Release\Handbrake.exe.CodeAnalysisLog.xml</CodeAnalysisLogFile>\r
+    <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>\r
+    <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>\r
+    <UseVSHostingProcess>false</UseVSHostingProcess>\r
+    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>\r
+    <CodeAnalysisRuleSetDirectories>;c:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>\r
+    <CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>\r
+    <CodeAnalysisRuleDirectories>;c:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>\r
+    <CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>\r
+    <CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules>\r
+  </PropertyGroup>\r
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'NightlyBuild|AnyCPU'">\r
+    <OutputPath>bin\NightlyBuild\</OutputPath>\r
+    <Optimize>false</Optimize>\r
+    <DefineConstants>DEBUG;TRACE</DefineConstants>\r
+  </PropertyGroup>\r
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'NightlyBuild|x86'">\r
+    <OutputPath>bin\x86\NightlyBuild\</OutputPath>\r
+    <DefineConstants>TRACE;DEBUG</DefineConstants>\r
+    <Optimize>true</Optimize>\r
   </PropertyGroup>\r
   <ItemGroup>\r
+    <Reference Include="Growl.Connector, Version=2.0.0.0, Culture=neutral, PublicKeyToken=980c2339411be384, processorArchitecture=x86">\r
+      <SpecificVersion>False</SpecificVersion>\r
+      <HintPath>libraries\Growl.Connector.dll</HintPath>\r
+      <Private>True</Private>\r
+    </Reference>\r
+    <Reference Include="Growl.CoreLibrary, Version=2.0.0.0, Culture=neutral, PublicKeyToken=13e59d82e007b064, processorArchitecture=x86">\r
+      <SpecificVersion>False</SpecificVersion>\r
+      <HintPath>libraries\Growl.CoreLibrary.dll</HintPath>\r
+      <Private>True</Private>\r
+    </Reference>\r
+    <Reference Include="PresentationCore">\r
+      <RequiredTargetFramework>3.0</RequiredTargetFramework>\r
+    </Reference>\r
+    <Reference Include="PresentationFramework">\r
+      <RequiredTargetFramework>3.0</RequiredTargetFramework>\r
+    </Reference>\r
     <Reference Include="System" />\r
+    <Reference Include="System.Core">\r
+      <RequiredTargetFramework>3.5</RequiredTargetFramework>\r
+    </Reference>\r
     <Reference Include="System.Data" />\r
     <Reference Include="System.Deployment" />\r
     <Reference Include="System.Design" />\r
     <Reference Include="System.Messaging" />\r
     <Reference Include="System.Windows.Forms" />\r
     <Reference Include="System.XML" />\r
+    <Reference Include="UIAutomationProvider, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">\r
+      <RequiredTargetFramework>3.0</RequiredTargetFramework>\r
+    </Reference>\r
+    <Reference Include="WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">\r
+      <RequiredTargetFramework>3.0</RequiredTargetFramework>\r
+    </Reference>\r
+    <Reference Include="WindowsFormsIntegration, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />\r
   </ItemGroup>\r
   <ItemGroup>\r
-    <Compile Include="frmPreview.cs">\r
+    <Compile Include="Controls\AudioPanel.cs">\r
+      <SubType>UserControl</SubType>\r
+    </Compile>\r
+    <Compile Include="Controls\AudioPanel.Designer.cs">\r
+      <DependentUpon>AudioPanel.cs</DependentUpon>\r
+    </Compile>\r
+    <Compile Include="Controls\Filters.cs">\r
+      <SubType>UserControl</SubType>\r
+    </Compile>\r
+    <Compile Include="Controls\Filters.Designer.cs">\r
+      <DependentUpon>Filters.cs</DependentUpon>\r
+    </Compile>\r
+    <Compile Include="Controls\PictureSettings.cs">\r
+      <SubType>UserControl</SubType>\r
+    </Compile>\r
+    <Compile Include="Controls\PictureSettings.designer.cs">\r
+      <DependentUpon>PictureSettings.cs</DependentUpon>\r
+    </Compile>\r
+    <Compile Include="Controls\Subtitles.cs">\r
+      <SubType>UserControl</SubType>\r
+    </Compile>\r
+    <Compile Include="Controls\Subtitles.Designer.cs">\r
+      <DependentUpon>Subtitles.cs</DependentUpon>\r
+    </Compile>\r
+    <Compile Include="Controls\x264Panel.cs">\r
+      <SubType>UserControl</SubType>\r
+    </Compile>\r
+    <Compile Include="Controls\x264Panel.Designer.cs">\r
+      <DependentUpon>x264Panel.cs</DependentUpon>\r
+    </Compile>\r
+    <Compile Include="frmExceptionWindow.cs">\r
       <SubType>Form</SubType>\r
     </Compile>\r
-    <Compile Include="frmPreview.Designer.cs">\r
-      <DependentUpon>frmPreview.cs</DependentUpon>\r
+    <Compile Include="frmExceptionWindow.Designer.cs">\r
+      <DependentUpon>frmExceptionWindow.cs</DependentUpon>\r
     </Compile>\r
-    <Compile Include="frmActivityWindow.cs">\r
+    <Compile Include="Model\ActivityLogMode.cs" />\r
+    <Compile Include="Properties\AssemblyInfo.cs" />\r
+    <Compile Include="Services\Encode.cs" />\r
+    <Compile Include="frmPreview.cs">\r
       <SubType>Form</SubType>\r
     </Compile>\r
-    <Compile Include="frmActivityWindow.Designer.cs">\r
-      <DependentUpon>frmActivityWindow.cs</DependentUpon>\r
+    <Compile Include="frmPreview.Designer.cs">\r
+      <DependentUpon>frmPreview.cs</DependentUpon>\r
     </Compile>\r
     <Compile Include="frmAbout.cs">\r
       <SubType>Form</SubType>\r
     <Compile Include="frmDownload.Designer.cs">\r
       <DependentUpon>frmDownload.cs</DependentUpon>\r
     </Compile>\r
-    <Compile Include="frmGenPreview.cs">\r
-      <SubType>Form</SubType>\r
-    </Compile>\r
-    <Compile Include="frmGenPreview.Designer.cs">\r
-      <DependentUpon>frmGenPreview.cs</DependentUpon>\r
-    </Compile>\r
     <Compile Include="frmMain.cs">\r
       <SubType>Form</SubType>\r
     </Compile>\r
     <Compile Include="frmMain.Designer.cs">\r
       <DependentUpon>frmMain.cs</DependentUpon>\r
     </Compile>\r
-    <Compile Include="frmMainBasic.cs">\r
-      <SubType>Form</SubType>\r
-    </Compile>\r
-    <Compile Include="frmMainBasic.Designer.cs">\r
-      <DependentUpon>frmMainBasic.cs</DependentUpon>\r
-    </Compile>\r
     <Compile Include="frmOptions.cs">\r
       <SubType>Form</SubType>\r
     </Compile>\r
     <Compile Include="frmUpdater.designer.cs">\r
       <DependentUpon>frmUpdater.cs</DependentUpon>\r
     </Compile>\r
-    <Compile Include="frmMain\PresetLoader.cs" />\r
-    <Compile Include="frmMain\QueryGenerator.cs" />\r
+    <Compile Include="Functions\GrowlCommunicator.cs" />\r
+    <Compile Include="Functions\PresetLoader.cs" />\r
+    <Compile Include="Functions\QueryGenerator.cs" />\r
     <Compile Include="Functions\Main.cs" />\r
-    <Compile Include="Presets\preset.cs" />\r
+    <Compile Include="Services\Scan.cs" />\r
+    <Compile Include="Functions\System.cs" />\r
+    <Compile Include="Functions\UpdateCheckInformation.cs" />\r
+    <Compile Include="Functions\Win32.cs" />\r
+    <Compile Include="frmActivityWindow.cs">\r
+      <SubType>Form</SubType>\r
+    </Compile>\r
+    <Compile Include="frmActivityWindow.Designer.cs">\r
+      <DependentUpon>frmActivityWindow.cs</DependentUpon>\r
+    </Compile>\r
+    <Compile Include="Model\AudioTrack.cs" />\r
+    <Compile Include="Model\DriveInformation.cs" />\r
+    <Compile Include="Model\SourceType.cs" />\r
+    <Compile Include="Model\Subtitle.cs" />\r
+    <Compile Include="Presets\PlistPresetHandler.cs" />\r
+    <Compile Include="Presets\Preset.cs" />\r
     <Compile Include="Presets\PresetsHandler.cs" />\r
-    <Compile Include="Queue\QueueHandler.cs" />\r
+    <Compile Include="Services\Queue.cs" />\r
     <Compile Include="Functions\AppcastReader.cs" />\r
-    <Compile Include="Functions\Encode.cs" />\r
     <Compile Include="Functions\QueryParser.cs" />\r
-    <Compile Include="frmMain\x264Panel.cs" />\r
     <Compile Include="Parsing\AudioTrack.cs" />\r
     <Compile Include="Parsing\Chapter.cs" />\r
     <Compile Include="Parsing\DVD.cs" />\r
     <Compile Include="Parsing\Subtitle.cs" />\r
     <Compile Include="Parsing\Title.cs" />\r
     <Compile Include="Program.cs" />\r
-    <Compile Include="Properties\AssemblyInfo.cs" />\r
-    <EmbeddedResource Include="frmPreview.resx">\r
-      <DependentUpon>frmPreview.cs</DependentUpon>\r
+    <EmbeddedResource Include="Controls\AudioPanel.resx">\r
+      <DependentUpon>AudioPanel.cs</DependentUpon>\r
       <SubType>Designer</SubType>\r
     </EmbeddedResource>\r
-    <EmbeddedResource Include="frmActivityWindow.resx">\r
-      <DependentUpon>frmActivityWindow.cs</DependentUpon>\r
+    <EmbeddedResource Include="Controls\Filters.resx">\r
+      <DependentUpon>Filters.cs</DependentUpon>\r
+      <SubType>Designer</SubType>\r
+    </EmbeddedResource>\r
+    <EmbeddedResource Include="Controls\PictureSettings.resx">\r
+      <DependentUpon>PictureSettings.cs</DependentUpon>\r
+      <SubType>Designer</SubType>\r
+    </EmbeddedResource>\r
+    <EmbeddedResource Include="Controls\Subtitles.resx">\r
+      <DependentUpon>Subtitles.cs</DependentUpon>\r
+      <SubType>Designer</SubType>\r
+    </EmbeddedResource>\r
+    <EmbeddedResource Include="Controls\x264Panel.resx">\r
+      <DependentUpon>x264Panel.cs</DependentUpon>\r
+      <SubType>Designer</SubType>\r
+    </EmbeddedResource>\r
+    <EmbeddedResource Include="frmExceptionWindow.resx">\r
+      <DependentUpon>frmExceptionWindow.cs</DependentUpon>\r
+      <SubType>Designer</SubType>\r
+    </EmbeddedResource>\r
+    <EmbeddedResource Include="frmPreview.resx">\r
+      <DependentUpon>frmPreview.cs</DependentUpon>\r
       <SubType>Designer</SubType>\r
     </EmbeddedResource>\r
     <EmbeddedResource Include="frmAbout.resx">\r
       <SubType>Designer</SubType>\r
       <DependentUpon>frmDownload.cs</DependentUpon>\r
     </EmbeddedResource>\r
-    <EmbeddedResource Include="frmGenPreview.resx">\r
-      <DependentUpon>frmGenPreview.cs</DependentUpon>\r
-      <SubType>Designer</SubType>\r
-    </EmbeddedResource>\r
     <EmbeddedResource Include="frmMain.resx">\r
       <SubType>Designer</SubType>\r
       <DependentUpon>frmMain.cs</DependentUpon>\r
     </EmbeddedResource>\r
-    <EmbeddedResource Include="frmMainBasic.resx">\r
-      <DependentUpon>frmMainBasic.cs</DependentUpon>\r
-      <SubType>Designer</SubType>\r
-    </EmbeddedResource>\r
     <EmbeddedResource Include="frmOptions.resx">\r
       <SubType>Designer</SubType>\r
       <DependentUpon>frmOptions.cs</DependentUpon>\r
       <DependentUpon>frmUpdater.cs</DependentUpon>\r
       <SubType>Designer</SubType>\r
     </EmbeddedResource>\r
+    <EmbeddedResource Include="frmActivityWindow.resx">\r
+      <DependentUpon>frmActivityWindow.cs</DependentUpon>\r
+      <SubType>Designer</SubType>\r
+    </EmbeddedResource>\r
     <EmbeddedResource Include="Properties\Resources.resx">\r
       <Generator>ResXFileCodeGenerator</Generator>\r
       <LastGenOutput>Resources.Designer.cs</LastGenOutput>\r
       <DesignTime>True</DesignTime>\r
     </Compile>\r
     <None Include="app.config" />\r
+    <None Include="Installer\MakeNightly.nsi.tmpl" />\r
+    <None Include="Installer\MakeNightly.nsi" />\r
+    <None Include="Installer\Installer.nsi" />\r
     <None Include="Properties\Settings.settings">\r
       <Generator>SettingsSingleFileGenerator</Generator>\r
       <LastGenOutput>Settings.Designer.cs</LastGenOutput>\r
     <Compile Include="frmSplashScreen.Designer.cs">\r
       <DependentUpon>frmSplashScreen.cs</DependentUpon>\r
     </Compile>\r
-    <Compile Include="Queue\QueueItem.cs" />\r
+    <Compile Include="Model\Job.cs" />\r
   </ItemGroup>\r
   <ItemGroup>\r
     <Content Include="handbrakepineapple.ico" />\r
     <None Include="Resources\ActivityWindow.png" />\r
     <None Include="Resources\AddToQueue.png" />\r
     <Content Include="Resources\ActivityWindow_small.png" />\r
+    <None Include="Resources\AddToQueue_small.png" />\r
     <Content Include="Resources\copy.png" />\r
     <Content Include="Resources\disc_small.png" />\r
     <None Include="Resources\hb32.png" />\r
     <None Include="Resources\Help16.png" />\r
     <None Include="Resources\info16.png" />\r
     <None Include="Resources\folder.png" />\r
+    <None Include="Resources\download.png" />\r
+    <None Include="Resources\ErrorX.png" />\r
     <Content Include="Resources\Output_Small.png" />\r
     <None Include="Resources\Pause.png" />\r
     <None Include="Resources\Play.png" />\r
     <None Include="Resources\picture.png" />\r
+    <None Include="Resources\Play_small.png" />\r
     <Content Include="Resources\Pref_Small.png" />\r
     <Content Include="Resources\Queue.png" />\r
     <Content Include="Resources\Queue_Small.png" />\r
   <ItemGroup>\r
     <BootstrapperPackage Include="Microsoft.Net.Client.3.5">\r
       <Visible>False</Visible>\r
-      <ProductName>.NET Framework Client Profile</ProductName>\r
+      <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>\r
       <Install>false</Install>\r
     </BootstrapperPackage>\r
     <BootstrapperPackage Include="Microsoft.Net.Framework.2.0">\r
   <Target Name="AfterBuild">\r
   </Target>\r
   -->\r
+  <Import Project="$(ProgramFiles)\MSBuild\Microsoft\StyleCop\v4.3\Microsoft.StyleCop.targets" />\r
+  <PropertyGroup Condition=" '$(Configuration)' == 'Install' ">\r
+    <PostBuildEvent>\r
+       cd ../../\r
+       copy Installer\Installer.nsi bin\Install /Y\r
+       copy handbrakepineapple.ico bin\Install /Y\r
+       xcopy doc bin\Install\doc /I /Y\r
+       cd bin\Install\r
+       makensis Installer.nsi\r
+       </PostBuildEvent>\r
+  </PropertyGroup>\r
+  <PropertyGroup Condition=" '$(Configuration)' == 'NightlyBuild' ">\r
+    <PostBuildEvent>\r
+       cd ../../\r
+       copy Installer\MakeNightly.nsi bin\NightlyBuild /Y\r
+       copy handbrakepineapple.ico bin\NightlyBuild /Y\r
+       xcopy doc bin\NightlyBuild\doc /I /Y\r
+       cd bin\NightlyBuild\r
+       makensis MakeNightly.nsi\r
+       </PostBuildEvent>\r
+  </PropertyGroup>\r
+  <PropertyGroup>\r
+    <PreBuildEvent>\r
+       subwcrev.exe "$(ProjectDir)." "$(ProjectDir)Properties\AssemblyInfo.cs.tmpl" "$(ProjectDir)Properties\AssemblyInfo.cs"\r
+       subwcrev.exe "$(ProjectDir)." "$(ProjectDir)Properties\AssemblyInfo.cs.tmpl" "$(ProjectDir)Properties\AssemblyInfo.cs"\r
+subwcrev.exe "$(ProjectDir)." "$(ProjectDir)Installer\MakeNightly.nsi.tmpl" "$(ProjectDir)Installer\MakeNightly.nsi"</PreBuildEvent>\r
+  </PropertyGroup>\r
 </Project>
\ No newline at end of file