Unable to copy a file from obj\Debug to bin\Debug

Posted by M.H on Stack Overflow See other posts from Stack Overflow or by M.H
Published on 2010-04-12T20:32:55Z Indexed on 2010/04/12 21:53 UTC
Read the original article Hit count: 479

Filed under:
|

I have a project in C# and I get this error every time I try to compile the project :
(Unable to copy file "obj\Debug\Project1.exe" to "bin\Debug\Project1.exe". The process cannot access the file 'bin\Debug\Project1.exe' because it is being used by another process.), so I have to close the process from the task manager.
my project is only one form and there is no multithreading. what is the solution (without restarting VS or Killing the process)?

© Stack Overflow or respective owner

Related posts about c#

Related posts about winforms