The Free Software Media System - Server Backend & API
Dlls only copied to nuget folder when in Release configuration
ScottIsAFoolacfca8e65a6b
diff --git a/MediaBrowser.ApiInteraction.Portable/MediaBrowser.ApiInteraction.Portable.csproj b/MediaBrowser.ApiInteraction.Portable/MediaBrowser.ApiInteraction.Portable.csprojindex aaf5a3bd8e..22b1a030eb 100644--- a/MediaBrowser.ApiInteraction.Portable/MediaBrowser.ApiInteraction.Portable.csproj+++ b/MediaBrowser.ApiInteraction.Portable/MediaBrowser.ApiInteraction.Portable.csproj@@ -98,7 +98,9 @@<Import Project="$(SolutionDir)\.nuget\nuget.targets" /><Import Project="..\packages\Microsoft.Bcl.Build.1.0.0-rc\tools\Microsoft.Bcl.Build.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><!-- To modify your build process, add your task inside one of the targets below and uncomment it.Other similar extension points exist, see Microsoft.Common.targets.diff --git a/MediaBrowser.ApiInteraction/MediaBrowser.ApiInteraction.csproj b/MediaBrowser.ApiInteraction/MediaBrowser.ApiInteraction.csprojindex a4a9091928..ceb8aaece7 100644--- a/MediaBrowser.ApiInteraction/MediaBrowser.ApiInteraction.csproj+++ b/MediaBrowser.ApiInteraction/MediaBrowser.ApiInteraction.csproj@@ -69,7 +69,9 @@<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /><Import Project="$(SolutionDir)\.nuget\nuget.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><!-- To modify your build process, add your task inside one of the targets below and uncomment it.Other similar extension points exist, see Microsoft.Common.targets.diff --git a/MediaBrowser.ClickOnce/MediaBrowser.ClickOnce.csproj b/MediaBrowser.ClickOnce/MediaBrowser.ClickOnce.csprojindex 9d8c207dce..eb566fd7fd 100644--- a/MediaBrowser.ClickOnce/MediaBrowser.ClickOnce.csproj+++ b/MediaBrowser.ClickOnce/MediaBrowser.ClickOnce.csproj@@ -52,7 +52,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><!-- To modify your build process, add your task inside one of the targets below and uncomment it.Other similar extension points exist, see Microsoft.Common.targets.diff --git a/MediaBrowser.Common.Implementations/MediaBrowser.Common.Implementations.csproj b/MediaBrowser.Common.Implementations/MediaBrowser.Common.Implementations.csprojindex a8dfe33cf4..4adff8380f 100644--- a/MediaBrowser.Common.Implementations/MediaBrowser.Common.Implementations.csproj+++ b/MediaBrowser.Common.Implementations/MediaBrowser.Common.Implementations.csproj@@ -168,7 +168,9 @@<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /><Import Project="$(SolutionDir)\.nuget\nuget.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><!-- To modify your build process, add your task inside one of the targets below and uncomment it.Other similar extension points exist, see Microsoft.Common.targets.diff --git a/MediaBrowser.Common/MediaBrowser.Common.csproj b/MediaBrowser.Common/MediaBrowser.Common.csprojindex a13786e31f..30718ab4b9 100644--- a/MediaBrowser.Common/MediaBrowser.Common.csproj+++ b/MediaBrowser.Common/MediaBrowser.Common.csproj@@ -126,7 +126,9 @@<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /><Import Project="$(SolutionDir)\.nuget\nuget.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><!-- To modify your build process, add your task inside one of the targets below and uncomment it.Other similar extension points exist, see Microsoft.Common.targets.diff --git a/MediaBrowser.Controller/MediaBrowser.Controller.csproj b/MediaBrowser.Controller/MediaBrowser.Controller.csprojindex 6648c64586..eedc5f79de 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>diff --git a/MediaBrowser.IsoMounter/MediaBrowser.IsoMounter.csproj b/MediaBrowser.IsoMounter/MediaBrowser.IsoMounter.csprojindex 36d929267a..154fad6b33 100644--- a/MediaBrowser.IsoMounter/MediaBrowser.IsoMounter.csproj+++ b/MediaBrowser.IsoMounter/MediaBrowser.IsoMounter.csproj@@ -82,8 +82,10 @@</ItemGroup><Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /><PropertyGroup>- <PostBuildEvent>xcopy "$(TargetPath)" "$(SolutionDir)\Nuget\dlls\" /y /d /r /i-xcopy "$(TargetDir)pfmclrapi.dll" "$(SolutionDir)\Nuget\dlls\" /y /d /r /i</PostBuildEvent>+ <PostBuildEvent>if $(ConfigurationName) == Release (+xcopy "$(TargetPath)" "$(SolutionDir)\Nuget\dlls\" /y /d /r /i+xcopy "$(TargetDir)pfmclrapi.dll" "$(SolutionDir)\Nuget\dlls\" /y /d /r /i+)</PostBuildEvent></PropertyGroup><!-- To modify your build process, add your task inside one of the targets below and uncomment it.Other similar extension points exist, see Microsoft.Common.targets.diff --git a/MediaBrowser.Model/MediaBrowser.Model.csproj b/MediaBrowser.Model/MediaBrowser.Model.csprojindex ba3818160c..605fd1046b 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.