mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-20 04:48:53 +00:00
19 lines
443 B
Batchfile
19 lines
443 B
Batchfile
@REM Add this to post build event command line in VS for any file that needs update to bin cache.
|
||
@REM call "$(SolutionDir)UpdateBinCache.bat" "$(TargetPath)" $(TargetFileName)
|
||
@REM But see required hack:
|
||
@REM https://github.com/dotnet/project-system/issues/1569
|
||
|
||
@echo off
|
||
|
||
cd %~dp0
|
||
echo Path %1
|
||
echo File %2
|
||
|
||
if not exist build\bin\%2 goto copy
|
||
echo Deleting...
|
||
del build\bin\%2
|
||
|
||
:copy
|
||
echo Copying...
|
||
copy "%1" build\bin\
|
||
echo ---Done
|