Thursday, February 6, 2014

unable to copy file from obj to bin in Visual Studio

Solution
Put this in your project Build Event's pre-build event command line:

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

Reference
http://social.msdn.microsoft.com/Forums/en-US/5b71eb06-5047-483d-8fd3-b75c102d41e9/unable-to-copy-from-objdebug-to-bindebug?forum=Vsexpressinstall

No comments:

Post a Comment

There was an error in this gadget