diff options
| author | ScottIsAFool <scottisafool@live.co.uk> | 2013-02-27 20:46:49 +0000 |
|---|---|---|
| committer | ScottIsAFool <scottisafool@live.co.uk> | 2013-02-27 20:47:34 +0000 |
| commit | acfca8e65a6be23803de1465b6c6bf9d2f1114a8 (patch) | |
| tree | 447c23bb57bcdf083c0e672389dc031c50fbcb01 /MediaBrowser.Model | |
| parent | ff4ee7ab9c41f9756e1db6f25f701c8ca69cecf2 (diff) | |
Dlls only copied to nuget folder when in Release configuration
Diffstat (limited to 'MediaBrowser.Model')
| -rw-r--r-- | MediaBrowser.Model/MediaBrowser.Model.csproj | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/MediaBrowser.Model/MediaBrowser.Model.csproj b/MediaBrowser.Model/MediaBrowser.Model.csproj index ba3818160..605fd1046 100644 --- a/MediaBrowser.Model/MediaBrowser.Model.csproj +++ b/MediaBrowser.Model/MediaBrowser.Model.csproj @@ -131,7 +131,9 @@ </ItemGroup> <Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.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> <Import Project="$(SolutionDir)\.nuget\nuget.targets" /> <!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
