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

后端 未结 7 1479
南笙
南笙 2021-02-13 03:01

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

7条回答
  •  佛祖请我去吃肉
    2021-02-13 03:35

    In my case, this error was being caused by Microsoft Security Essentials scanning the file as soon as Visual Studio saved it before a compile. The compiler then tried to access the file and would find it locked by MSE. Adding the Visual Studio projects directory to the exclusions list made the error go away.

提交回复
热议问题