I'm getting the "Unable to copy file, Access to the path is denied" error message when I try to build me release app. I can build it in debug though.
I last rebuilt in release mode about 15 minutes ago.
I have looked at a previous post on this site similar question however the answers on there didn't slove my issue.
I closed visual studio and deleted all the folders from my bin folder & rebuilt it with no luck. The release folder has the same properties as the debug.
One thing I did notice was that I delete all the files from the release folder, which is fine. Then I go back into that folder and some of the files I deleted have come back??
Any help before I lose all my hair would be great!
UPDATE
Thanks for the posts everyone. Turns out somebody was in my personal folder and had the application open for some unknown reason - they are safe as I have decided not to kill them :-)