Click here to Skip to main content
15,891,976 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hii,everyone how can solve this error message:


Error 11 Could not copy "obj\x86\Debug\mashary2.exe" to "bin\Debug\mashary2.exe". Exceeded retry count of 10. Failed. mashary2

and

Error 12 Unable to copy file "obj\x86\Debug\mashary2.exe" to "bin\Debug\mashary2.exe". The process cannot access the file 'bin\Debug\mashary2.exe' because it is being used by another process. mashary2
Posted
Comments
[no name] 13-Jul-14 9:04am    
Shut down whatever process is using mashary2.
Shut down and restart Visual Studio.
Reboot your computer.
Kornfeld Eliyahu Peter 13-Jul-14 9:11am    
It seems you try to re-build your project while the resulting exe still running!!! Find and shut it down...

1 solution

The reason I normally get this message is because I am trying to build the Release version of the software by accident - I assumed it was the Debug version and forgot to check - and already have the current Release version running on my system.
Close the running version and try again.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900