I'm doing my views implementation in Blend 4
and I want to debug my code in Visual Studio 2010
.
After start my project from Blend I attach the VS debugger to it. The debugging works fine. The next time I want to debug again (after some modifications) I can't build the project with error message:
Unable to copy file "obj\Debug\Application.exe" to "bin\Debug\Application.exe". The process cannot acess the file "bin\Debug\Applicaiton.exe" because it is being used by another process
The same message comes from both dev.app.
According to the Task Manager there is no running Application.exe. When I close the Visual Studio I can run the project again.
What is the solution to run and modify and debug the code without always reopening one of these dev.apps?