2013-02-09 10 views
8

In VS2012, quando si costruisce ho spesso otterrà il seguente errore:Impossibile lanciare con successo o connettersi a un bambino processo MSBuild.exe

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) 

nel task manager vedo che ci sono almeno 10-20 MSBuild.exe e Conhost.exe. Non riesco a terminarli e persino chiudere VS non risolve il problema. L'unica soluzione al momento è disconnettersi e riconnettersi.

Qualcuno ha provato anche questo e forse ha una risoluzione?

Grazie in anticipo. Rob

+0

possibile duplicato di [Impossibile avviare o connettersi correttamente a un processo figlio MSBuild.exe. Verificare che MSBuild.exe] (http://stackoverflow.com/questions/14561278/failed-to-successfully-launch-or-connect-to-a-amild-msbuild-exe-process-verify) –

risposta

Problemi correlati