Error 1:
Error 12 Unable to copy file "obj\Debug\coursework2.exe" to "bin\Debug\coursework2.exe". The process cannot access the file 'bin\Debug\coursework2.exe' because it is being used by another process.
Error 2:
Error 11 Could not copy "obj\Debug\coursework2.exe" to "bin\Debug\coursework2.exe". Exceeded retry count of 10. Failed.
I keep repeating getting these two errors. Please explain to me how to solve this.
I agree with @ahmet that your executable might be already executing while you are trying to build the solution.
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