注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

Code@Pig Home

喜欢背着一袋Code傻笑的Pig .. 忧美.欢笑.记忆.忘却 .之. 角落

 
 
 

日志

 
 

[VS2005] error PRJ0002 : Error result 31 returned from 'mt.exe'  

2009-03-31 10:55:18|  分类: win32 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
碰到一个 VS 的 bug
error PRJ0002 : Error result 31 returned from 'mt.exe'

http://social.msdn.microsoft.com/forums/en-US/vcgeneral/thread/8ab65340-2002-49b5-86a2-185269560030/

I have the same problem for a while now. Some times it occurs, some times not. I now used the Process Monitor from SysInternals to find out what causes the problem, and I found it. I have Google Desktop search installed on my machine and it scans every file when it changes to build the index. When mt.exe tries to add the manifest to the target file, Google Desktop may have it already opened for exclusive access, so mt.exe gets a sharing violation error and exits with the error code 31. I used to have Copernic Desktop search previously and I had the same problem with other applications as well, that's why I switched to Google Desktop search. The problem is much more rare with Google Desktop search, because it is running with a lower priority class. I tried to exclude the folder where I have my project files for Google, but it did not help, as Google still opens the files there. The real solution would be if MS fixes mt.exe so that it waits and tries to open the file a few times when it gets a sharing violation. A better error code would also help to identify the real problem.

碰到此问题,目前的办法,re-build the project - -~
  评论这张
 
阅读(3323)| 评论(0)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017