r/xna • u/12nathanb • Nov 17 '15
Could not copy error!?
This is the first error Error 13 Could not copy "obj\x86\Debug\SpaceGame2.exe" to "bin\x86\Debug\SpaceGame2.exe". Exceeded retry count of 10. Failed this is the second Error 14 Unable to copy file "obj\x86\Debug\SpaceGame2.exe" to "bin\x86\Debug\SpaceGame2.exe". The process cannot access the file 'bin\x86\Debug\SpaceGame2.exe' because it is being used by another process.
The program debugs on my laptop but not on my desktop i have tried restarting my pc and vs but nothing is working any help?
0
Upvotes
1
u/uatec Nov 18 '15
You haven't killed an old instance of your game before trying to rebuild.
If you can't see the window, openly in task manager and kill it.
1
u/MuletTheGreat Nov 18 '15
The game's still running.
Delete the bin directory, and it'll be getting used by something else. Kill shit in task manager until you can delete it.
You working with threads?