gpt4 book ai didi

logging - TFS2015 vNext 构建失败 :MSBUILD : error MSB4017: The build stopped unexpectedly because of an unexpected logger failure

转载 作者:行者123 更新时间:2023-12-04 03:15:06 30 4
gpt4 key购买 nike

TFS2015 vNext 构建失败并出现记录器错误(下面附有错误消息)。根据我的调查,这看起来与 CentralLogger - "Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll"有关,当我在没有 centrallogger 的情况下手动运行命令行构建时,它可以工作。

知道如何解决这个问题吗?

vNext 构建中的 CentralLogger 参数:msbuild.exe/fl/nologo/dl:CentralLogger,C:\TFSAgent\Agent\Worker\Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll*ForwardingLogger,C:\TFSAgent\Agent\Worker\Microsoft.TeamFoundation.DistributedTask. MSBuild.Logger.dll

错误信息:MSBUILD:错误 MSB4166:子节点“Microsoft.Build.Exceptions.InternalLoggerException:由于意外的记录器故障,构建意外停止。---> System.ArgumentException:路径中的非法字符。2017-01-20T17:40:55.7242247Z MSBUILD:错误 MSB4166:在 System.IO.Path.CheckInvalidPathChars(字符串路径, bool 值 checkAdditional)2017-01-20T17:40:55.7242247Z MSBUILD:错误 MSB4166:在 System.IO.Path.IsPathRooted(字符串路径)2017-01-20T17:40:55.7242247Z MSBUILD:错误 MSB4166:在 MSBuild.Logger.ErrorWarningEventMinimumFields.EnsureFullPath(字符串文件、字符串项目文件、 bool 值 isFileName)2017-01-20T17:40:55.7242247Z MSBUILD:错误 MSB4166:在 MSBuild.Logger.ErrorWarningEventMinimumFields..ctor(BuildWarningEventArgs warningEvent,Boolean isStaticAnalysis,Boolean logInformation)2017-01-20T17:40:55.7242247Z MSBUILD:错误 MSB4166:在 MSBuild.Logger.ProjectTrees.LogWarning(BuildWarningEventArgs warningEvent,Boolean isStaticAnalysis,Boolean logInformation)2017-01-20T17:40:55.7252248Z MSBUILD:错误 MSB4166:在 MSBuild.Logger.CentralLogger.HandleWarningRaised(对象发件人,BuildWarningEventArgs e)2017-01-20T17:40:55.7252248Z MSBUILD:错误 MSB4166:在 Microsoft.Build.BackEnd.Logging.EventSourceSink.RaiseWarningEvent(对象发件人,BuildWarningEventArgs buildEvent)2017-01-20T17:40:55.7252248Z MSBUILD:错误 MSB4166:--- 内部异常堆栈跟踪结束 ---2017-01-20T17:40:55.7252248Z MSBUILD:错误 MSB4166:在 Microsoft.Build.Exceptions.InternalLoggerException.Throw(Exception innerException,BuildEventArgs e,String messageResourceName,Boolean initializationException,String [] messageArgs)2017-01-20T17:40:55.7252248Z MSBUILD:错误 MSB4166:在 Microsoft.Build.BackEnd.Logging.EventSourceSink.RaiseWarningEvent(对象发件人,BuildWarningEventArgs buildEvent)2017-01-20T17:40:55.7262249Z MSBUILD:错误 MSB4166:在 Microsoft.Build.BackEnd.Logging.EventSourceSink.Consume(BuildEventArgs buildEvent)2017-01-20T17:40:55.7262249Z MSBUILD:错误 MSB4166:在 Microsoft.Build.BackEnd.Logging.EventSourceSink.Consume(BuildEventArgs buildEvent,Int32 sinkId)2017-01-20T17:40:55.7262249Z MSBUILD:错误 MSB4166:在 Microsoft.Build.BackEnd.Logging.LoggingService.RouteBuildEvent(KeyValuePair`2 nodeEvent)2017-01-20T17:40:55.7262249Z MSBUILD:错误 MSB4166:在 Microsoft.Build.BackEnd.Logging.LoggingService.RouteBuildEvent(对象 loggingEvent)

最佳答案

我们通过单独构建解决方案解决了这些问题。我们有一个由主解决方案调用的子解决方案,该子解决方案抛出一些警告,似乎 TFS 记录器抛出异常。

关于logging - TFS2015 vNext 构建失败 :MSBUILD : error MSB4017: The build stopped unexpectedly because of an unexpected logger failure,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41770203/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com