Monday, October 4, 2010

unable to copy from obj/debug to Bin in dotnet

Use this in the Build Events...

if exist "$(TargetPath).locked" del "$(TargetPath).locked"
if not exist "$(TargetPath).locked" move "$(TargetPath)" "$(TargetPath).locked"

No comments: