VisualStudio2010 Debugging - The process cannot access the file ... because it is being used by anot
Posted
by Richard Forss
on Stack Overflow
See other posts from Stack Overflow
or by Richard Forss
Published on 2010-04-22T10:54:28Z
Indexed on
2010/04/22
11:43 UTC
Read the original article
Hit count: 776
visual-studio-2010
|debugging
I'm unable to debug a WinForms C# application using the released version of Visual Studio 2010 Prof.
I get the following error message after the second debugging run.
Error 9 Unable to copy file "obj\x86\Debug\Arrowgrass Reports.exe" to "bin\Debug\Arrowgrass Reports.exe". The process cannot access the file 'bin\Debug\Arrowgrass Reports.exe' because it is being used by another process.
I've tried a pre-build script to attempt to delete this file, but it's locked by Visual Studio.
There are a few references to this on the net so it is a know problem. Does anyone have a hotfix or effective work-around?
© Stack Overflow or respective owner