aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Reed <ebr@mediabrowser3.com>2013-02-22 15:05:38 -0500
committerEric Reed <ebr@mediabrowser3.com>2013-02-22 15:05:38 -0500
commit10559f2b7dddc8bb6aa2c124616b640620de2960 (patch)
tree2091c14ec7d9e29c2ab42a91aaa6af037d479e17
parent43854972c8a66a5227153c0c4272409479518e43 (diff)
Conditional post-build
-rw-r--r--MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csproj3
1 files changed, 2 insertions, 1 deletions
diff --git a/MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csproj b/MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csproj
index 66cbbb059..1a0c58d75 100644
--- a/MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csproj
+++ b/MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csproj
@@ -375,6 +375,7 @@
<PropertyGroup>
<PostBuildEvent>xcopy "$(SolutionDir)\packages\System.Data.SQLite.1.0.84.0\content\net40\x86\SQLite.Interop.dll" "$(TargetDir)" /y
+if $(ConfigurationName) == Release (
xcopy "$(TargetDir)*.dll" "$(SolutionDir)..\Deploy\Server\System" /y
mkdir "$(SolutionDir)..\Deploy\Server\System\x64"
xcopy "$(TargetDir)x64" "$(SolutionDir)..\Deploy\Server\System\x64" /y
@@ -385,7 +386,7 @@ xcopy "$(TargetDir)x86" "$(SolutionDir)..\Deploy\Server\System\x86" /y
mkdir "$(SolutionDir)..\Deploy\Server\System\CorePlugins"
xcopy "$(TargetDir)CorePlugins" "$(SolutionDir)..\Deploy\Server\System\CorePlugins" /y
-compress -Z "$(SolutionDir)..\Deploy\Server\*.*"</PostBuildEvent>
+)</PostBuildEvent>
</PropertyGroup>
<Import Project="$(SolutionDir)\.nuget\nuget.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.