I\'m using VS 2008. When ever I make a change in my code and try to compile I get the following error:
Error 7 Unexpected error creating debug informa
I have solved a similar problem by adding these lines as a pre-build event:
if exist "$(TargetPath).locked" del "$(TargetPath).locked" if exist "$(TargetPath)" move "$(TargetPath)" "$(TargetPath).locked"
With proper modifications, it might help your problem.