I have a server software that is written in C#. Sometimes I take this error:
Unable to copy file "obj\x86\Debug\Server.exe" to "bin\Debug\Server.exe". The process cannot access the file 'bin\Debug\Server.exe' because it is being used by another process.
How can I understand that my program is still running in background and stop that?