Try fix postbuild commands

This commit is contained in:
hydrant
2018-11-04 16:39:17 +01:00
parent 306cc8b41a
commit 96c4e0d2b2

View File

@@ -13,7 +13,7 @@
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql.Design" Version="1.1.2" /> <PackageReference Include="Pomelo.EntityFrameworkCore.MySql.Design" Version="1.1.2" />
<PackageReference Include="gtanetwork.api" Version="0.3.6" /> <PackageReference Include="gtanetwork.api" Version="0.3.6" />
</ItemGroup> </ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent"> <Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(ConfigurationName)' == 'Debug'">
<Exec Command="if NOT &quot;$(ConfigurationName)&quot; == &quot;ServerBuild&quot; (&#xD;&#xA; del &quot;..\..\client_packages\*&quot; /Q /S&#xD;&#xA; xcopy &quot;$(OutDir)*&quot; &quot;..\..\bridge\resources\reallife-gamemode&quot; /Y /Q&#xD;&#xA; del &quot;..\..\client_packages\*.*&quot; /Q&#xD;&#xA; xcopy &quot;..\..\reallife-gamemode\reallife-gamemode\Client\*&quot; &quot;..\..\client_packages\&quot; /S /Q /Y&#xD;&#xA;)" /> <Exec Command="del &quot;..\..\client_packages\*&quot; /Q /S&#xD;&#xA;xcopy &quot;$(OutDir)*&quot; &quot;..\..\bridge\resources\reallife-gamemode&quot; /Y /Q&#xD;&#xA;del &quot;..\..\client_packages\*.*&quot; /Q&#xD;&#xA;xcopy &quot;..\..\reallife-gamemode\reallife-gamemode\Client\*&quot; &quot;..\..\client_packages\&quot; /S /Q /Y&#xD;&#xA;" />
</Target> </Target>
</Project> </Project>