Search code examples
c#visual-studio-2010msbuildxnacompiler-errors

The requested operation cannot be performed error when compiling an XNA project


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 comes back.

"Unable to copy file "obj\x86\Debug\MyFile.dll". The requested operation cannot be performed on a file with user-mapped section open."


Solution

  • Found cause - it's to do with having Visual Studio Achievements extension installed. The problem goes away with this extension removed.