Dlls only copied to nuget folder when in Release configuration

This commit is contained in:
ScottIsAFool
2013-02-27 20:46:49 +00:00
parent ff4ee7ab9c
commit acfca8e65a
8 changed files with 25 additions and 9 deletions

View File

@@ -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>