I get this error repeatedly when developing ASP.Net applications:
Cannot create/shadow copy \'XXXXX\' when that file already exists
Where
Just restart Visual studio, that worked for me.