summaryrefslogtreecommitdiffstats
path: root/win/C#/HandBrakeCS.csproj
diff options
context:
space:
mode:
authorsr55 <[email protected]>2010-04-21 19:22:58 +0000
committersr55 <[email protected]>2010-04-21 19:22:58 +0000
commit264340057fe7b79509bc1a206583ea1ccab975c0 (patch)
tree48532fee384122274876c39c82976c976940f7fc /win/C#/HandBrakeCS.csproj
parentd14d10a3d6e714dc312fd2d629d352b423623f7d (diff)
WinGui:
- Tag the Assembly Version with the svn revision so the GUI can be identified correctly. This is for the nightly builds. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3250 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/HandBrakeCS.csproj')
-rw-r--r--win/C#/HandBrakeCS.csproj5
1 files changed, 5 insertions, 0 deletions
diff --git a/win/C#/HandBrakeCS.csproj b/win/C#/HandBrakeCS.csproj
index 9990bc9e9..44b8113ab 100644
--- a/win/C#/HandBrakeCS.csproj
+++ b/win/C#/HandBrakeCS.csproj
@@ -359,6 +359,7 @@
<DesignTime>True</DesignTime>
</Compile>
<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">
@@ -504,4 +505,8 @@
makensis MakeNightly.nsi
</PostBuildEvent>
</PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)' == 'NightlyBuild' ">
+ <PreBuildEvent>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> \ No newline at end of file