How to solve Error : Could not copy ... Exceeded retry count of 10. Failed. - VS 2017
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.