msbuild在通过VM的远程执行上失败,但在其他计算机上成功传递 [英] msbuild fails on remote execution over a VM but passes successfully over other machines

查看:68
本文介绍了msbuild在通过VM的远程执行上失败,但在其他计算机上成功传递的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在vm上手动运行msbuild时,似乎没有问题.但是,在vm上使用Power Shell的invoke comand时,我在事件日志中遇到了构建失败和这些错误.

while running msbuild manually on the vm , there seems to be no issues. however while using power shell's invoke comand on the vm, i get build failures and these errors in the event logs.

将Power Shell用于msbuild可以在其他非VM机器上使用

using power shell for msbuild works on other non-vm machines

有没有办法获取有关该问题的更多详细信息?

Is there any way to get more details regarding the issue?

错误

应用程序:MSBuild.exe

Application: MSBuild.exe

框架版本:v4.0.30319

Framework Version: v4.0.30319

说明:由于未处理的异常,进程已终止.

Description: The process was terminated due to an unhandled exception.

异常信息:Microsoft.Build.Shared.InternalErrorException

Exception Info: Microsoft.Build.Shared.InternalErrorException

堆栈:

  在Microsoft.Build.Shared.ErrorUtilities.ThrowInternalError(System.String,System.Exception,System.Object [])

   at Microsoft.Build.Shared.ErrorUtilities.ThrowInternalError(System.String, System.Exception, System.Object[])

  在Microsoft.Build.BackEnd.InProcNode.Run(System.Exception ByRef)

   at Microsoft.Build.BackEnd.InProcNode.Run(System.Exception ByRef)

  在Microsoft.Build.BackEnd.NodeProviderInProc.InProcNodeThreadProc()

   at Microsoft.Build.BackEnd.NodeProviderInProc.InProcNodeThreadProc()

  在System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object,布尔值)处

   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)

  在System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object)

   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)

  在System.Threading.ThreadHelper.ThreadStart()

   at System.Threading.ThreadHelper.ThreadStart()

推荐答案

您好,PrashanthKhebbar, 

感谢您的信息.

由于此问题与MSBuild有关,我将其移至MSBuild论坛以获得更好的响应.  


这篇关于msbuild在通过VM的远程执行上失败,但在其他计算机上成功传递的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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