When compiling a project for the second time I get the following error message. I have to close down VS 2010 and it compiles when reloaded. If I make a change then the problem c
For me it was Git extensions locking the file up. I killed the git process that had got stuck and rebuilt the project. If you cant find whats locking up the file you can always restart the computer :)