>>Hi everybody,
>>
>>Quite often after I debug a method, then make changes, then try to re-build the application, I get an error similar to this one
>>
>>Error 11 Could not copy "C:\_Siriusware\Main\Siriusware.Middleware\Siriusware.Middleware\bin\Debug\Siriusware.Middleware.dll" to "bin\Debug\Siriusware.Middleware.dll". Exceeded retry count of 10. Failed. TestProject
>>
>>Usually re-starting VS helps to clear this error. I am wondering if this is a bug or not and what should I do in such cases except for closing VS and re-starting?
>
>- Check your Windows System Event Log for any disk-related errors
>- Run CHKDSK on C: drive
No errors in Windows System Event log.
I think Bill's suggestion in more probable. Usually after I get to the error point in application using debug, I stop debugging by pressing red button on the toolbar, make a fix and then try to re-build again. Most likely the application didn't properly stop at that point.
If it's not broken, fix it until it is.
My Blog