Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Exceeded retry count of 10. Failed

I am trying to run a sample code and same code was absolutely fine yesterday and Today,It started throwing following error , any ideas to solve this problem? I tried cleaning. Stopping all processes related to the application , nothing worked :(

Severity    Code    Description Project File    Line    Suppression State
Error       Could not copy "obj\Debug\TodoREST.dll" to "bin\Debug\TodoREST.dll". Exceeded retry count of 10. Failed.    TodoRESTWS          
Severity    Code    Description Project File    Line    Suppression State
Error       Build action 'EmbeddedResource' is not supported by one or more of the project's targets.   TodoASMX    C:\Users\wadhw\Downloads\TodoASMX\TodoASMX\Views\TodoListPage.xaml  0   
like image 490
user2486209 Avatar asked Oct 15 '25 14:10

user2486209


2 Answers

Are you working with Visual Studio? This is a known bug, an update was released yesterday to fix it.

You can see the release notes here.

Which say:

Compilation fails because process cannot access dll (after VS2017 update 2 (v15.2))

Although I now see that the error message is slightly different. You can also try this:

  • Close VS (or whatever)
  • Go to your code on the filesystem
  • Delete all the bin and obj folders in each of the project folders

Now open up your IDE again and try to rebuild.

like image 69
Gerald Versluis Avatar answered Oct 18 '25 07:10

Gerald Versluis


Just delete your bin folder in your project it will work

like image 39
Mohammad Shakil Avatar answered Oct 18 '25 09:10

Mohammad Shakil