summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorsr55 <[email protected]>2012-03-23 23:58:32 +0000
committersr55 <[email protected]>2012-03-23 23:58:32 +0000
commit1732654a808c3b0326dd475217abbbe6908cc015 (patch)
tree6d4b493f5f22cdeedbd2888355d2cd3fa282ebcb /win
parente3a97d65b55111d6c140a74794a587c791598248 (diff)
WinGui: Turn Full debug on for the Windows GUI, and include pdb's in the nightly builds.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4531 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win')
-rw-r--r--win/CS/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj6
-rw-r--r--win/CS/HandBrakeCS.csproj5
-rw-r--r--win/CS/Installer/MakeNightly.nsi.tmpl1
-rw-r--r--win/CS/Installer/MakeNightly64.nsi.tmpl1
-rw-r--r--win/CS/Program.cs3
5 files changed, 10 insertions, 6 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj b/win/CS/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj
index 1e7b50434..4cee59f78 100644
--- a/win/CS/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj
+++ b/win/CS/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj
@@ -28,6 +28,8 @@
<OutputPath>bin\x86\Release\</OutputPath>
<Optimize>true</Optimize>
<DefineConstants>DEBUG;TRACE</DefineConstants>
+ <DebugType>pdbonly</DebugType>
+ <DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<PlatformTarget>x64</PlatformTarget>
@@ -37,8 +39,10 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<PlatformTarget>x64</PlatformTarget>
<OutputPath>bin\x64\Release\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
<Optimize>true</Optimize>
+ <DebugType>pdbonly</DebugType>
+ <DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<ItemGroup>
<Reference Include="Caliburn.Micro">
diff --git a/win/CS/HandBrakeCS.csproj b/win/CS/HandBrakeCS.csproj
index ac189474f..c2e0f74aa 100644
--- a/win/CS/HandBrakeCS.csproj
+++ b/win/CS/HandBrakeCS.csproj
@@ -48,10 +48,11 @@
<PlatformTarget>x86</PlatformTarget>
<OutputPath>bin\x86\Release\</OutputPath>
<UseVSHostingProcess>false</UseVSHostingProcess>
- <DefineConstants>
- </DefineConstants>
+ <DefineConstants>TRACE;DEBUG</DefineConstants>
<Optimize>true</Optimize>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
+ <DebugType>pdbonly</DebugType>
+ <DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<PlatformTarget>x64</PlatformTarget>
diff --git a/win/CS/Installer/MakeNightly.nsi.tmpl b/win/CS/Installer/MakeNightly.nsi.tmpl
index c1847c15a..ab09c1459 100644
--- a/win/CS/Installer/MakeNightly.nsi.tmpl
+++ b/win/CS/Installer/MakeNightly.nsi.tmpl
@@ -132,6 +132,7 @@ Section "Handbrake" SEC01
File "*.dll"
File "*.config"
File "*.xml"
+ File "*.pdb"
; Copy the standard doc set into the doc folder
SetOutPath "$INSTDIR\doc"
diff --git a/win/CS/Installer/MakeNightly64.nsi.tmpl b/win/CS/Installer/MakeNightly64.nsi.tmpl
index 787465936..15c35d248 100644
--- a/win/CS/Installer/MakeNightly64.nsi.tmpl
+++ b/win/CS/Installer/MakeNightly64.nsi.tmpl
@@ -131,6 +131,7 @@ Section "Handbrake" SEC01
File "*.dll"
File "*.config"
File "*.xml"
+ File "*.pdb"
; Copy the standard doc set into the doc folder
SetOutPath "$INSTDIR\doc"
diff --git a/win/CS/Program.cs b/win/CS/Program.cs
index ac35ed952..48d2f7562 100644
--- a/win/CS/Program.cs
+++ b/win/CS/Program.cs
@@ -56,9 +56,6 @@ namespace Handbrake
return;
}
- // Make sure the GUI knows what CLI version it's attached to.
- Functions.Main.SetCliVersionData();
-
// Check were not running on a screen that's going to cause some funnies to happen.
Screen scr = Screen.PrimaryScreen;
if ((scr.Bounds.Width < 1024) || (scr.Bounds.Height < 620))