I am having VS 2017 community edition and I have a console application. Every time I build I am getting this error.
 Error      Could not copy "obj\Debug\ConsoleApp1.exe" to "bin\Debug\ConsoleApp1.exe". Exceeded retry count of 10. Failed.  ConsoleApp1 
 Error      Unable to copy file "obj\Debug\ConsoleApp1.exe" to "bin\Debug\ConsoleApp1.exe". The process cannot access the file 'bin\Debug\ConsoleApp1.exe' because it is being used by another process. ConsoleApp1         
This is getting on my nerves as I have to close the VS2017 everytime this error appears. It runs only one time then I get this error.
I had the same situation as you
You can view process by using Process Explorer
Follow these step and you will get the result
In my case the application still run in background i have to close it before building again.

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With