OSDN Git Service

WinGui:
authorsr55 <sr55@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 2 Apr 2010 20:44:09 +0000 (20:44 +0000)
committersr55 <sr55@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 2 Apr 2010 20:44:09 +0000 (20:44 +0000)
- Fix a small error in the build config. Don't run makensis for non install configs

git-svn-id: svn://localhost/HandBrake/trunk@3193 b64f7644-9d1e-0410-96f1-a4d463321fa5

win/C#/HandBrakeCS.csproj

index a28bdc3..84e7532 100644 (file)
   </Target>\r
   -->\r
   <Import Project="$(ProgramFiles)\MSBuild\Microsoft\StyleCop\v4.3\Microsoft.StyleCop.targets" />\r
-  <PropertyGroup>\r
-    <PostBuildEvent>cd ../../\r
+  <PropertyGroup Condition=" '$(Configuration)' == 'Install' ">\r
+\r
+    <PostBuildEvent>\r
+cd ../../\r
 copy Installer\Installer.nsi bin\Install\r
 cd bin\Install\r
-makensis Installer.nsi</PostBuildEvent>\r
+makensis Installer.nsi\r
+</PostBuildEvent>\r
   </PropertyGroup>\r
 </Project>
\ No newline at end of file