I am using VS2013 Premium to publish a site to Windows Server 2012. All files publish ok except these: SqlServerTypes\\x64\\msvcr100.dll
SqlServerTypes\\x64\\SqlSer
Watch out you don't have one of those new-fangled cloud backup services running that is taking file locks - and also you don't have things open in explorer or a DLL inspection tool.
I think it's kind of ridiculous that MS doesn't make better provisions for this problem. I find that 9 times out of 10 my deployment works just fine, but then as our traffic increases that can become 1 in 10 times.
I am going to solve the problem with :
MySite.A and MySite.B, where only one is running at a time. Not quite sure how I'm implementing it, but I think this is what I need to do.