Error 1 Error Result 31 Returned From Mt.exe
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up microsoft visual studio 2008 builds keep failing up vote 10 down vote favorite 2 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'. 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 OS: windows 7 ultimate msv studio 2008 + sp1 professional c++ visual-studio-2008 share|improve this question edited Mar 21 '10 at 13:23 Hans Passant 653k819571602 asked Mar 21 '10 at 12:00 Dr Deo 2,48932645 I encounter the same problem, except that I do not need to do a complete rebuild, just the link. So, for me it is not worthwhile to arrange to kill the process every time. –ravenspoint Oct 6 '10 at 21:00 1 I have tried to kill the process mspdbsrv.exe and then build or rebuild - but I still receive the same error. Any idea what can be done? –inbaly Sep 14 '14 at 7:17 add a comment| 2 Answers 2 active oldest votes up vote 12 down vote accepted 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 solu
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Embedding manifest error in visual studio build up vote 0 down vote favorite When http://stackoverflow.com/questions/2486963/microsoft-visual-studio-2008-builds-keep-failing building C++ programs with VS2008 I occasionally get the following error message 1>Linking... 1>Embedding manifest... 1>Project : error PRJ0002 : Error result 31 returned from 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe'. Restarting the build is almost always successful, so it is a mere nuisance. I am curious as to what is going on. visual-studio-2008 share|improve this question asked Oct 6 '10 at 20:43 ravenspoint 11.3k33270 add a comment| 1 Answer 1 active oldest votes http://stackoverflow.com/questions/3876701/embedding-manifest-error-in-visual-studio-build up vote 1 down vote See the earlier question on this topic here. share|improve this answer answered Oct 6 '10 at 20:55 Steve Townsend 41.8k453109 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged visual-studio-2008 or ask your own question. asked 6 years ago viewed 1109 times active 6 years ago Linked 10 microsoft visual studio 2008 builds keep failing Related 323What does the Visual Studio “Any CPU” target mean?1005Visual Studio - Command to collapse all sections of code?219Difference between Rebuild and Clean + Build in Visual Studio372Go to Matching Brace in Visual Studio?0.NET Build Error After Converting to VS 20082Visual Studio 2008 build fails with no error output0“Could not create the file”, “Access is denied” and “Unrecoverable build error” in building setup project in VS 20080lc.exe Not found in visual studio 2008-1VS2008 linker error PRJ0002 when a build folder is open in Windows Explorer0Error code 31 returned from mt.exe when buildin
Forum Visual C++ & C++ Programming Managed C++ and C++/CLI error PRJ0002 : Error result 31 returned from 'C:\Program Files\Microsoft Visual Stud If this is your first visit, be sure to check out the FAQ by clicking the link http://forums.codeguru.com/showthread.php?417954-error-PRJ0002-Error-result-31-returned-from-C-Program-Files-Microsoft-Visual-Stud above. You may have to register or Login before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. Results 1 to 7 of http://blog.csdn.net/zhuanshenweiliu/article/details/17656423 7 Thread: error PRJ0002 : Error result 31 returned from 'C:\Program Files\Microsoft Visual Stud Tweet Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode March error 1 16th, 2007,04:57 PM #1 nlayshot View Profile View Forum Posts Junior Member Join Date Feb 2007 Posts 9 error PRJ0002 : Error result 31 returned from 'C:\Program Files\Microsoft Visual Stud I keep getting the following error while compiling: error PRJ0002 : Error result 31 returned from 'C:\Program Files\Microsoft Visual Studio 8\VC\bin\mt.exe'. If I rebuild the project several times it will eventually go away. I it really frustrating. Does anyone know what is causing this error? Nick Reply With Quote April error 1 error 1st, 2007,05:07 AM #2 Sahir View Profile View Forum Posts Visit Homepage Senior Member Join Date Aug 2002 Location Dubai Posts 1,183 Re: error PRJ0002 : Error result 31 returned from 'C:\Program Files\Microsoft Visual Stud It could be a corrupted installation. Reinstalling VS 2005 should fix the problem. Also do download and install SP1. Reply With Quote August 19th, 2007,06:42 AM #3 yuvals View Profile View Forum Posts Junior Member Join Date Aug 2007 Posts 1 Re: error PRJ0002 : Error result 31 returned from 'C:\Program Files\Microsoft Visual Stud I've encountered the same problem. Installing SP1 didn't solve the problem. Any other solutions? Is it a known issue? Reply With Quote August 29th, 2007,03:46 PM #4 stan01 View Profile View Forum Posts Junior Member Join Date Aug 2007 Posts 1 Re: error PRJ0002 : Error result 31 returned from 'C:\Program Files\Microsoft Visual Stud I'm having this problem also, having problem building release version it is ok for the debug version. It seem this problem have something to do with the manfest. anyone find the solution? Reply With Quote September 19th, 2007,05:28 PM #5 jhuckins View Profile View Forum Posts Junior Member Join Date Sep 2007 Posts 1 Re: error PRJ0002 : Error result 31 returned from 'C:\Program Files\Microsoft Visual Stud Did anybody every figure out the problem with this? I'm having the same problem after starting to build my app with /clr when trying to embed
error PRJ0002 : Error result 31 returned from 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt. 2013-12-29 18:24 4423人阅读 评论(0) 收藏 举报 本文章已收录于: 分类: c++(17) 作者同类文章X 版权声明:本文为博主原创文章,未经博主允许不得转载。 error PRJ0002 : Error result 31 returned from 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe'. 有时编译会出这个问题,有时又是编译成功的。今天不管怎么清理重新编译都无济于事,后面只好重建个工程重新搞,MLGB,但还是有时成功有时出错。 下面有种解决方案,有需要的可以参考下: 1,VisualStudio中报这个错误:Project:errorPRJ0002:Errorresult31returnedfrom'C:\ProgramFiles\MicrosoftSDKs\Windows\v6.0A\bin\mt.exe'. 如下方法解决:Properties->ConfigurationProperties->Linker->ManifestFile,setGenerateManifesttoNo. 2,VisualStudio编译成功,运行时报这个错误: 没有找到MSVCR90.dll,因此这个应用程序未能启动,重新安装应用程序可能会修复此问题 解决方法是,项目-->C++-->代码生成下的运行时库项目从Multi-threadedDebugDLL(/MDd)改为Multi-threadedDebug(/MTd),因为Multi-threadedDebugDLL(/MDd)需要项目建立者相同的MSVCR.dll库,而我们的系统中的DLL可能不同,因此报告上述错误。改成后面的选项后就可以运行了。 如果你只能在MD模式下,那我就无奈了。但是具体是什么原因造成的,就不太清楚了~若是知道其中原理,请留言~谢谢 顶 0 踩 0 我的同类文章 c++(17) http://blog.csdn.net 参考知识库 更多资料请参考: 猜你在找 查看评论 * 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场 个人资料 zhuanshenweiliu 访问:323083次 积分:2735 等级: 积分:2735 排名:第9632名 原创:39篇 转载:98篇 译文:0篇 评论:90条 文章搜索 文章分类 Hibernate(1) 数据库sql(10) java基础(14) java 智力题(1) jquery(3) 数据结构(6) 前台框架(1) Map(3) Android ndk(8) android(12) 软件(1) shell(3) android ui(1) c++(18) dos(1) 学习(6) 设计模式(7) 语音kaldi(5) 算法(13) 笔试面试题(20) j2ee(1) linux(13) 计算机体系结构(1) 前端技术(2) QT(4) 网站(1) 求职工作(1) 构建工具(1) 并行计算(1) PHP(2) 文章存档 2016年09月(1)2016年04月(1)2016年01月(1)2015年12月(1)2015年10月(2)2015年07月(1)2015年06