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

标签 c# asp.net visual-studio-2010 visual-studio-2012 visual-studio-2013

我第一次遇到这种情况。

运行构建并遇到此错误。

当我重建其他 sln 时一切正常。

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

最佳答案

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

关于c# - 无法成功启动或连接到子 MSBuild.exe 进程。验证 MSBuild.exe,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14561278/

相关文章:

c# - 如何在 C# 中对两个字典中的值求和?

asp.net - 该进程无法访问该文件,因为该文件正被 SharePoint 2010 C# 代码中的另一个进程使用

.net - Visual Studio 中的 F# 交互式热键

visual-studio-2010 - setup.exe -> 安装 VS 2010 不执行任何操作

c# - 如何将 AutoDataAttribute 与 InlineData 结合使用

c# - 多线程时将参数传递给方法

c# - 将 ASP.NET Core WEB API ModelState 错误放入 Angular 6 中的数组

javascript - IE 中的页面加载时,动画 gif 不会显示动画

c# - 不支持直接绑定(bind)到存储查询(DbSet、DbQuery、DbSqlQuery、DbRawSqlQuery)的数据。加载不存在

c++ - 使用cmake为vs2013配置cuda项目得到 "invalid device function"错误