Replace xcopy with built-in VS content copy

This commit is contained in:
parulina 2019-06-21 02:43:54 +02:00
parent f5bf5956b2
commit 66ed26617d
3 changed files with 14 additions and 4 deletions

View file

@ -131,6 +131,9 @@
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<None Include="app.config" />
<Content Include="..\Data\lobby_config.ini">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
@ -153,7 +156,8 @@
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>xcopy "$(SolutionDir)data\lobby_config.ini" "$(SolutionDir)$(ProjectName)\$(OutDir)" /y</PostBuildEvent>
<PostBuildEvent>
</PostBuildEvent>
</PropertyGroup>
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
@ -168,4 +172,4 @@
<Target Name="AfterBuild">
</Target>
-->
</Project>
</Project>