mt.exe:一般错误c101008d:无法将更新的清单写入文件的资源...访问被拒绝 [英] mt.exe : general error c101008d: Failed to write the updated manifest to the resource of file ... Access is denied
问题描述
即使我构建一个新的C ++项目并尝试构建发行文件,我也经常遇到此问题.
I often have this problem even when I build a new C++ project and try to build a release file.
我使用Visual Studio2008.可能导致此问题的一件事是我的代码保存在服务器磁盘上,而不是本地硬盘上.
I use Visual studio 2008. One thing that may cause this problem is my code is saved on the server disk, not on local hard disk.
mt.exe:一般错误c101008d:无法将更新的清单写入文件".. \ Release \ PGTS_version17C.exe"的资源中.该进程无法访问该文件,因为该文件正在被另一个进程使用.
mt.exe : general error c101008d: Failed to write the updated manifest to the resource of file "..\Release\PGTS_version17C.exe". The process cannot access the file because it is being used by another process.
有人知道如何解决这个问题吗?谢谢.
Anyone know how to solve this? Thanks.
推荐答案
如果要嵌入清单文件,则防病毒程序可能会在嵌入清单文件之前锁定并扫描exe文件.
If you are embedding a manifest file, your anti-virus program may lock and scan your exe file before embedding the manifest.
我建议禁用防病毒功能,使其无法读取DEBUG和RELEASE输出文件夹.
I recommend disabling anti-virus from reading your DEBUG and RELEASE output folders.
这篇关于mt.exe:一般错误c101008d:无法将更新的清单写入文件的资源...访问被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!