VisualStudio2010 Debugging – The process cannot access the file … because it is being used by another process

I have found this issue very easy to reproduce, and the fix for me is a variation on Richard Fors’ answer. If I have a UserControl open in the designer, run the debugger, and then edit the UserControl, the subsequent rebuild will fail. If I close the UserControl before running the debugger I never get this error, so I just make sure to close the designer window before hitting F5.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)