Cosmos/UpdateBinCache.bat
2017-07-01 16:23:17 -04:00

19 lines
443 B
Batchfile
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@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