Skip to content

Instantly share code, notes, and snippets.

@andipaetzold
Last active August 27, 2015 20:53
Show Gist options
  • Save andipaetzold/1b137e72a6806525eacf to your computer and use it in GitHub Desktop.
Save andipaetzold/1b137e72a6806525eacf to your computer and use it in GitHub Desktop.
Pre-build command line to prevent the remote debugger from locking the executable.
if exist "$(TargetPath).locked" del "$(TargetPath).locked"
if exist "$(TargetPath)" if not exist "$(TargetPath).locked" move "$(TargetPath)" "$(TargetPath).locked"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment