编译XNA项目时无法执行请求的操作错误 [英] The requested operation cannot be performed error when compiling an XNA project

查看:208
本文介绍了编译XNA项目时无法执行请求的操作错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

第二次编译项目时,我收到以下错误消息。我必须关闭VS 2010,它重新加载时编译。如果我进行更改,则问题会恢复。

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.


无法复制文件obj \x86 \Debug\MyFile。 dll。对于用户映射段打开的文件,无法执行请求的操作。

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


推荐答案

我有另一个原因的这个问题。所以我分享给那些有这个问题没有成就扩展

I had this problem for another cause. So I am sharing for those having this problem without the achievement extension

在我的情况下,这是由于项目设置页面被打开。我在我的项目中使用类型作为一个设置的类型,所以它似乎visual studio打开dll获取规格,但不自动释放。关闭设置页可解决问题或重新启动visual studio。

In my case, it was due to the project settings page being opened. I am using a type in my project as the type of one setting, so it appears that visual studio opens the dll to get the specs but don't release it automatically. Closing the settings page solve the problem or restarting visual studio.

这篇关于编译XNA项目时无法执行请求的操作错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆