Yes. my problem is very common in StackOverFlow, but I don’t see the real solution for my problem yet, so I post again to hope some help for me.
I meet this error after each time I compile and run one project, and one compile and run again.
I just has one solution : open Process Explorer and kill A.exe (which A is a name of C# project).
But it is very handy, and I don’t know why this very very stupid error and Microsoft hasn’t fixed it, yet.
Thanks 🙂
When you compile and run an executable, it is in use – that means that it can’t be replaced by a recompile until the executable terminates.
If you application doesn’t terminate, the executable file itself is in use. A recompile will attempt to replace that file and fail.
You need to ensure this happens before you can compile again.