microsoft visual studio 2008 builds始终失败 [英] microsoft visual studio 2008 builds keep failing
问题描述
我的版本不断出现以下错误
My builds keep failing with the following error
Project : error PRJ0002 : Error result 31 returned from 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe'.
我发现我必须杀掉一些名为mspdbsrv.exe的过程 description:microsoft program数据库,然后重建整个项目。这是烦人。这个问题有永久性的解决方法,还是因为这个问题卡在我身上?
I find that i have to kill some process called mspdbsrv.exe description:"microsoft program database" Then rebuild the entire project. This is annoying. Is there a permanent solution to this problem or is it stuck with me for good?
PS
操作系统:windows 7 ultimate
PS OS: windows 7 ultimate
msv studio 2008 + sp1 professional
msv studio 2008 + sp1 professional
推荐答案
问题是由于某种原因, $ c> mspdbsrv.exe 在构建后保持活动。这是用来生成 .pdb
文件作为构建的一部分。唯一可靠的解决方案似乎是杀死该进程。
The problem is that for some reason, your mspdbsrv.exe
is staying alive after the build. This is what's used to generate your .pdb
files as part of the build. The only reliable solution seems to be to kill that process.
你能做的是至少自动化,只需添加一个后构建事件和控制台杀死它。我建议您在后期构建中使用 SysInternals PSKill实用程序(免费)
What you can do is at least automate that, just add a post-build event and console kill it. I'd suggest using the SysInternals PSKill utility (free) like this in your post-build:
pskill mspdbsrv.exe
这篇关于microsoft visual studio 2008 builds始终失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!