Unable to copy file. Access to the path is denied
I solved this problem by deleting the contentious files from bin folder and rebuilding the project.
I started Visual studio as administrator and that worked.
I had the same issue and I only had to restart the visual studio. Classic move :)
I solved it by Unchecking the Read-only
CheckBox option on folder setting.