Visual studio 2010 未能成功启动或连接到子MSBuild.exe进程

Visual studio 2010 未能成功启动或连接到子MSBuild.exe进程,visual-studio-2010,msbuild,visual-studio-2012,Visual Studio 2010,Msbuild,Visual Studio 2012,在VS2012中,在构建时,我经常会遇到以下错误: Error 5 The build stopped unexpectedly because of an internal failure. Microsoft.Build.Exceptions.BuildAbortedException: Build was canceled. Failed to successfully launch or connect to a child MSBuild.exe process. Verify

在VS2012中,在构建时,我经常会遇到以下错误:

Error   5   The build stopped unexpectedly because of an internal failure.
Microsoft.Build.Exceptions.BuildAbortedException: Build was canceled. Failed to successfully launch or connect to a child MSBuild.exe process. 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. If the location seems incorrect, try specifying the correct location in the BuildParameters object, or with the MSBUILD_EXE_PATH environment variable.
   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)
在任务管理器中,我看到至少有10-20个MSBuild.exe和Conhost.exe。我无法终止这些,甚至关闭VS也不能解决问题。目前唯一的解决办法是注销并重新登录

有没有人也经历过这种情况,也许有一个解决方案

提前谢谢。 Rob

请查看哪个选项指示重新启动Visual Studio以修复该问题

这对我来说确实有效。

可能是