简体   繁体   English

无法成功启动或连接到子MSBuild.exe进程。验证MSBuild.exe

[英]Failed to successfully launch or connect to a child MSBuild.exe process. Verify that the MSBuild.exe

First time this happens to me. 第一次发生在我身上。

Ran the build and got this error. 跑过构建并得到这个错误。

When I rebuild other sln all works fine. 当我重建其他sln一切正常。

Error 1 The build stopped unexpectedly because of an internal failure. 错误1由于内部故障,构建意外停止。 Microsoft.Build.Exceptions.BuildAbortedException: Build was canceled. Microsoft.Build.Exceptions.BuildAbortedException:构建已取消。 Failed to successfully launch or connect to a child MSBuild.exe process. 无法成功启动或连接到子MSBuild.exe进程。 Verify that the MSBuild.exe "C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\MSBuild.exe" launches successfully, and that it is loading the same microsoft.build.dll that the launching process loaded. 验证MSBuild.exe“C:\\ Windows \\ Microsoft.NET \\ Framework \\ v4.0.30319 \\ MSBuild.exe”是否成功启动,并且它正在加载启动进程加载的相同microsoft.build.dll。 If the location seems incorrect, try specifying the correct location in the BuildParameters object, or with the MSBUILD_EXE_PATH environment variable. 如果位置似乎不正确,请尝试在BuildParameters对象中指定正确的位置,或使用MSBUILD_EXE_PATH环境变量。 at Microsoft.Build.BackEnd.NodeProviderOutOfProc.CreateNode(Int32 nodeId, INodePacketFactory factory, NodeConfiguration configuration) at Microsoft.Build.BackEnd.NodeManager.AttemptCreateNode(INodeProvider nodeProvider, NodeConfiguration nodeConfiguration) at Microsoft.Build.BackEnd.NodeManager.CreateNode(NodeConfiguration configuration, NodeAffinity nodeAffinity) at Microsoft.Build.Execution.BuildManager.PerformSchedulingActions(IEnumerable`1 responses) at Microsoft.Build.Execution.BuildManager.HandleNewRequest(Int32 node, BuildRequestBlocker blocker) at Microsoft.Build.Execution.BuildManager.IssueRequestToScheduler(BuildSubmission submission, Boolean allowMainThreadBuild, BuildRequestBlocker blocker) D:\\MaM\\Server\\ClientServices\\Dev\\ClientService 1.4\\Conduit.Mam.ClientServices.Common.Initizliaer\\Conduit.Mam.ClientServices.Common.Initizliaer.csproj Conduit.Mam.ClientServices.Common.Initizliaer Microsoft.Build.BackEnd.NodeManager.CreateNode上的Microsoft.Build.BackEnd.NodeManager.AttemptCreateNode(INodeProvider nodeProvider,NodeConfiguration nodeConfiguration)中的Microsoft.Build.BackEnd.NodeProviderOutOfProc.CreateNode(Int32 nodeId,INodePacketFactory factory,NodeConfiguration配置)(NodeConfiguration配置) ,MicrosoftABuild.Execution.BerformRechedToScheduler上的Microsoft.Build.Execution.BuildManager.HandleNewRequest(Int32节点,BuildRequestBlocker阻止程序)中的Microsoft.Build.Execution.BuildManager.PerformSchedulingActions(IEnumerable`1响应),(NodeAffinity nodeAffinity)(BuildAubinity提交) ,Boolean allowMainThreadBuild,BuildRequestBlocker blocker)D:\\ MaM \\ Server \\ ClientServices \\ Dev \\ ClientService 1.4 \\ Conduit.Mam.ClientServices.Common.Initizliaer \\ Conduit.Mam.ClientServices.Common.Initizliaer.csproj Conduit.Mam.ClientServices.Common。 Initizliaer

退出并重新打开Visual Studio为我解决了这个问题。

Just had the same issue this morning. 今天早上刚才有同样的问题。 This error usually appears when your system is running low on memory. 当系统内存不足时,通常会出现此错误。 If quitting and re-opening VS doesn't do the trick, try closing some of the other applications that are currently running. 如果退出并重新打开VS不能解决问题,请尝试关闭当前正在运行的其他一些应用程序。 If all else fails try restarting your system. 如果所有其他方法都失败,请尝试重启系统。

http://blogs.msdn.com/b/paraswadehra/archive/2014/01/04/the-build-stopped-unexpectedly-because-of-an-internal-failure.aspx http://blogs.msdn.com/b/paraswadehra/archive/2014/01/04/the-build-stopped-unexpectedly-because-of-an-internal-failure.aspx

If you have tried everything in this post (restart, reboot, etc.) and nothing helps. 如果你已经尝试了这篇文章中的所有内容(重启,重启等),没有任何帮助。 Try Running VS2012 as Administrator and see if that helps. 尝试以管理员身份运行VS2012,看看是否有帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM