Skip to content

Commit 0268933

Browse files
Remove old files in PatchPayloads build folder on build
1 parent ee5b973 commit 0268933

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

QuickPatcher/QuickPatcher.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@
188188
<ItemGroup />
189189
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
190190
<PropertyGroup>
191-
<PostBuildEvent>xcopy "$(ProjectDir)Resources\PatchPayloads" "$(TargetDir)PatchPayloads\" /s /y</PostBuildEvent>
191+
<PostBuildEvent>rmdir "$(TargetDir)PatchPayloads\" /s /q
192+
xcopy "$(ProjectDir)Resources\PatchPayloads" "$(TargetDir)PatchPayloads\" /s /y</PostBuildEvent>
192193
</PropertyGroup>
193194
</Project>

0 commit comments

Comments
 (0)