Franz Heyn

Franz Heyn

  • 1.6k
  • 13
  • 538

Problem with Build

Feb 14 2024 11:26 AM

hi

I'm using Visual Studio 10 and among all my projects there's one that always doesn't compile more than once.

On startup I can execute the application, when I modify the code and try to build the solution I get the following error message:

Error    30    Unable to copy file "obj\Debug\myapp.exe" to "bin\Debug\myapp.exe". The process cannot access the file 'bin\Debug\myapp.exe' because it is being used by another process.

Trying to delete myapp.exe from the debug folder a message says it's still open. Closing solution doesn't help either.

I have to close and reopen Visual Studio and then same thing as stated above happens again.

Any ideas, what could be the problem? Again, none other of my projects behaves like that.

 


Answers (5)