未能成功启动或连接到子MSBuild.exe进程。验证MSBuild.exe [英] Failed to successfully launch or connect to a child MSBuild.exe process. Verify that the MSBuild.exe

查看:2256
本文介绍了未能成功启动或连接到子MSBuild.exe进程。验证MSBuild.exe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

第一次发生这种情况在我身上。

冉构建和得到这个错误。

在我其他重建 SLN 一切工作正常。


  

错误1生成意外停止,因为发生内部故障。
  Microsoft.Build.Exceptions.BuildAbortedException:体形被取消。
  未能成功启动或连接到子MSBuild.exe
  处理。验证MSBuild.exe
  C:\\ WINDOWS \\ Microsoft.NET \\框架\\ v4.0.30319 \\ MSBuild.exe发布会
  成功,并且它加载相同microsoft.build.dll那
  启动进程中加载​​。如果位置看起来不正确,尝试
  指定的正确位置中的BuildParameters对象,或具有
  在MSBUILD_EXE_PATH环境变量。在
  Microsoft.Build.BackEnd.NodeProviderOutOfProc.CreateNode(的Int32节点ID,
  INodePacketFactory工厂,NodeConfiguration配置)在
  Microsoft.Build.BackEnd.NodeManager.AttemptCreateNode(INodeProvider
  nodeProvider,NodeConfiguration nodeConfiguration)在
  Microsoft.Build.BackEnd.NodeManager.CreateNode(NodeConfiguration
  配置NodeAffinity nodeAffinity)在
  Microsoft.Build.Execution.BuildManager.PerformSchedulingActions(IEnumerable`1
  响应)在
  Microsoft.Build.Execution.BuildManager.HandleNewRequest(的Int32节点,
  BuildRequestBlocker阻断剂)在
  Microsoft.Build.Execution.BuildManager.IssueRequestToScheduler(BuildSubmission
  提交,布尔allowMainThreadBuild,BuildRequestBlocker
  阻滞剂)D:\\ MAM \\服务器\\ ClientServices \\开发\\ ClientService
  1.4\\Conduit.Mam.ClientServices.Common.Initizliaer\\Conduit.Mam.ClientServices.Common.Initizliaer.csproj Conduit.Mam.ClientServices.Common.Initizliaer



解决方案

退出并重新打开Visual Studio的解决了这个问题对我来说。

First time this happens to me.

Ran the build and got this error.

When I rebuild other sln all works fine.

Error 1 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) D:\MaM\Server\ClientServices\Dev\ClientService 1.4\Conduit.Mam.ClientServices.Common.Initizliaer\Conduit.Mam.ClientServices.Common.Initizliaer.csproj Conduit.Mam.ClientServices.Common.Initizliaer

解决方案

Quitting and re-opening Visual Studio solved it for me.

这篇关于未能成功启动或连接到子MSBuild.exe进程。验证MSBuild.exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆