Mono compatible PostBuild copy

This commit is contained in:
ubbelol 2016-07-18 18:44:55 +02:00
parent 4ec1a191b9
commit 7e07102c91
1 changed files with 2 additions and 1 deletions

View File

@ -310,7 +310,8 @@
<ItemGroup /> <ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup> <PropertyGroup>
<PostBuildEvent>copy "$(TargetPath)" "$(TargetDir)client.bin" /Y</PostBuildEvent> <PostBuildEvent Condition="'$(OS)' == 'Windows_NT' ">copy "$(TargetPath)" "$(TargetDir)client.bin" /Y</PostBuildEvent>
<PostBuildEvent Condition="'$(OS)' != 'Windows_NT' ">\cp "$(TargetPath)" "$(TargetDir)client.bin"</PostBuildEvent>
</PropertyGroup> </PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- 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. Other similar extension points exist, see Microsoft.Common.targets.