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
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:
bin
and obj
folders in each of the project foldersNow open up your IDE again and try to rebuild.
Just delete your bin folder in your project it will work
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