我们如何查看VSTS构建服务器上安装的程序集 [英] How do we see the assemblies installed on VSTS build server
问题描述
我在Visual Studio在线服务器上收到此错误.我想看看为什么失败了?我如何查看Visual Studio构建代理上安装了什么?
I am getting this error on visual studio online servers. I would like to see why it failed ? How do I see what is installed on visual studio build agent ?
错误
2017-06-20T15:11:00.0341044Z ## [错误] System.Exception:非 匹配的响应代码:InternalServerError-{"message":出现错误 发生.," exceptionMessage:"无法加载类型 'Microsoft.ServiceFabric.Data.Collections.IReliableConcurrentQueue`1' 来自程序集"Microsoft.ServiceFabric.Data.Interfaces", 版本= 5.0.0.0,文化=中性, PublicKeyToken = 31bf3856ad364e35'.," exceptionType:" System.TypeLoadException," stackTrace:" 在Infrastructure.ExceptionHandling.ExceptionHelper.ThrowIfUnhandled()处 在 d:\ a \ 1 \ s \ Infrastructure \ Infrastructure.ExceptionHandling \ ExceptionHelper.cs:line 45 \ r \ n at xxxx.WebApi.Controllers.yyyyTypesController.d__8.MoveNext() 在 d:\ a \ 1 \ s \ Orchestration \ xxxxGenius \ xxxxx.WebApi \ Controllers \ yyyyTypesController.cs:line 142 \ r \ n--发生异常的先前位置的堆栈结束跟踪 被扔了--- \ r \ n System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务 任务)\ r \ n at
2017-06-20T15:11:00.0341044Z ##[error] System.Exception : Non matching response code: InternalServerError - {"message":"An error has occurred.","exceptionMessage":"Could not load type 'Microsoft.ServiceFabric.Data.Collections.IReliableConcurrentQueue`1' from assembly 'Microsoft.ServiceFabric.Data.Interfaces, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.","exceptionType":"System.TypeLoadException","stackTrace":" at Infrastructure.ExceptionHandling.ExceptionHelper.ThrowIfUnhandled() in d:\a\1\s\Infrastructure\Infrastructure.ExceptionHandling\ExceptionHelper.cs:line 45\r\n at xxxx.WebApi.Controllers.yyyyTypesController.d__8.MoveNext() in d:\a\1\s\Orchestration\xxxxGenius\xxxxx.WebApi\Controllers\yyyyTypesController.cs:line 142\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at
我应该在哪里单击?
推荐答案
该版本告诉您失败的原因:找不到程序集Microsoft.ServiceFabric.Data.Interfaces
.
The build is telling you why it failed: It can't find the assembly Microsoft.ServiceFabric.Data.Interfaces
.
托管代理上加载的软件为记录.如果托管代理没有所需的东西,并且无法将其作为NuGet/NPM软件包安装,则必须设置自己的代理,上面装有所需的软件.
The software loaded on the hosted agent is well documented. If the hosted agent doesn't have something you need, and you can't install it as a NuGet/NPM package, then you'll have to set up your own agent that has the required software on it.
这篇关于我们如何查看VSTS构建服务器上安装的程序集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!