For a while now, me and my team having been having an issue where when we try and deploy a project we very frequently end up with the error
Error occurred in deployment step 'Add Solution': Error: Cannot add the specified assembly to the global assembly cache: Microsoft.Practices.ServiceLocation.dll.
We get around this by restarting IIS and once we do the project will deploy fine. But now our project is getting big and deployment take a long time and it is becoming incredibly annoying having to deploy twice.
So, we have decided to tackle this issue and clearly failed. Thus, I have turned to the internet and I'm hoping someone out there might know why this happening and how we can prevent it in the future.