aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/MediaBrowser.Controller.csproj
diff options
context:
space:
mode:
authorScottIsAFool <scottisafool@live.co.uk>2013-02-27 20:46:49 +0000
committerScottIsAFool <scottisafool@live.co.uk>2013-02-27 20:47:34 +0000
commitacfca8e65a6be23803de1465b6c6bf9d2f1114a8 (patch)
tree447c23bb57bcdf083c0e672389dc031c50fbcb01 /MediaBrowser.Controller/MediaBrowser.Controller.csproj
parentff4ee7ab9c41f9756e1db6f25f701c8ca69cecf2 (diff)
Dlls only copied to nuget folder when in Release configuration
Diffstat (limited to 'MediaBrowser.Controller/MediaBrowser.Controller.csproj')
-rw-r--r--MediaBrowser.Controller/MediaBrowser.Controller.csproj4
1 files changed, 3 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/MediaBrowser.Controller.csproj b/MediaBrowser.Controller/MediaBrowser.Controller.csproj
index 6648c6458..eedc5f79d 100644
--- a/MediaBrowser.Controller/MediaBrowser.Controller.csproj
+++ b/MediaBrowser.Controller/MediaBrowser.Controller.csproj
@@ -219,7 +219,9 @@
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
- <PostBuildEvent>xcopy "$(TargetPath)" "$(SolutionDir)\Nuget\dlls\" /y /d /r /i</PostBuildEvent>
+ <PostBuildEvent>if $(ConfigurationName) == Release (
+xcopy "$(TargetPath)" "$(SolutionDir)\Nuget\dlls\" /y /d /r /i
+)</PostBuildEvent>
</PropertyGroup>
<PropertyGroup>
<PreBuildEvent>