2

when am running my project 2 errors are coming first one is

"Error 20 Could not copy "obj\Debug\graceCommunityCare-Nov2015.dll" to "bin\graceCommunityCare-Nov2015.dll". Exceeded retry count of 10. Failed".

and the second one is

"Error 21 Unable to copy file "obj\Debug\graceCommunityCare-Nov2015.dll" to "bin\graceCommunityCare-Nov2015.dll". The requested operation cannot be performed on a file with a user-mapped section open".

i have a bin folder with gracecommunity DLL and obj folder is comes automatic it is not included now .obj folder contain debug folder. In that folder there are dll and some other file so please help me to solve this problem.

2 images are attached please check u can understand easily...

error screenshot

error folder directory

Bikee
  • 1,197
  • 8
  • 21
Nidhin Johny
  • 175
  • 3
  • 17

1 Answers1

3

Restart your Visual Studio. Delete the obj and bin folders(If still you are not able to delete the bin and obj folders, restart your computer). Clean and re-compile the solution.

Nagahornbill
  • 121
  • 7
  • ya i close visual studio .then deleted bin and obj folders then restarted the visual studio .now it is running and the error is solved..thank u so much this is my first question in stackoverflow – Nidhin Johny Apr 26 '16 at 05:06
  • Can u explain what is the use of bin and obj? how they are forming?how this error happened? – Nidhin Johny Apr 26 '16 at 05:10
  • @Nidhin Please refer to the following link : [obj and bin folders created by visual studio](http://stackoverflow.com/questions/5308491/what-are-the-obj-and-bin-folders-created-by-visual-studio-used-for) – Nagahornbill Apr 26 '16 at 05:13