OSDN Git Service

LinGui: make Help->Guide work on windows/mingw
[handbrake-jp/handbrake-jp-git.git] / win / C# / HandBrakeCS.csproj
index 8f02ff8..98c9d23 100644 (file)
     <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
     <Compile Include="Controls\x264Panel.Designer.cs">\r
       <DependentUpon>x264Panel.cs</DependentUpon>\r
     </Compile>\r
-    <Compile Include="EncodeQueue\Encode.cs" />\r
+    <Compile Include="frmExceptionWindow.cs">\r
+      <SubType>Form</SubType>\r
+    </Compile>\r
+    <Compile Include="frmExceptionWindow.Designer.cs">\r
+      <DependentUpon>frmExceptionWindow.cs</DependentUpon>\r
+    </Compile>\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="Functions\PresetLoader.cs" />\r
     <Compile Include="Functions\QueryGenerator.cs" />\r
     <Compile Include="Functions\Main.cs" />\r
-    <Compile Include="Functions\Scan.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="Presets\PlistPresetHandler.cs" />\r
     <Compile Include="Presets\Preset.cs" />\r
     <Compile Include="Presets\PresetsHandler.cs" />\r
-    <Compile Include="EncodeQueue\Queue.cs" />\r
+    <Compile Include="Services\Queue.cs" />\r
     <Compile Include="Functions\AppcastReader.cs" />\r
     <Compile Include="Functions\QueryParser.cs" />\r
     <Compile Include="Parsing\AudioTrack.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="Controls\AudioPanel.resx">\r
       <DependentUpon>AudioPanel.cs</DependentUpon>\r
       <SubType>Designer</SubType>\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
       <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="EncodeQueue\Job.cs" />\r
+    <Compile Include="Model\Job.cs" />\r
   </ItemGroup>\r
   <ItemGroup>\r
     <Content Include="handbrakepineapple.ico" />\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\General Preferences.png" />\r
   </ItemGroup>\r
   <ItemGroup>\r
+    <BootstrapperPackage Include="Microsoft.Net.Client.3.5">\r
+      <Visible>False</Visible>\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
       <Visible>False</Visible>\r
       <ProductName>.NET Framework 2.0 %28x86%29</ProductName>\r
       <ProductName>.NET Framework 3.5</ProductName>\r
       <Install>true</Install>\r
     </BootstrapperPackage>\r
+    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">\r
+      <Visible>False</Visible>\r
+      <ProductName>.NET Framework 3.5 SP1</ProductName>\r
+      <Install>false</Install>\r
+    </BootstrapperPackage>\r
     <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">\r
       <Visible>False</Visible>\r
       <ProductName>Windows Installer 3.1</ProductName>\r
   <Target Name="AfterBuild">\r
   </Target>\r
   -->\r
-  <Import Project="$(ProgramFiles)\MSBuild\Microsoft\StyleCop\v4.3\Microsoft.StyleCop.targets" />  \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