I have a project in C# and I get this error every time I try to compile the project:
(Unable to copy file \"obj\\Debug\\Project1.exe\" to \"bin\\Debug
I struggeled with this since years. I finally downloaded LockHunter to find out who locked the file. In my case it was MBAM. Once I added my project's directory to MBAMs exclusion list, I didn't have this problem anymore.