容器构建代理无法说出“缺少dll” TFS 2018窗口

时间:2018-08-27 14:10:27

标签: visual-studio powershell docker tfs2018

我只是设置了一些容器化代理,并且遇到了一些回归测试,这些问题在常规的构建代理上工作得很好。

想知道是否有人对容器化的构建代理有疑问?

错误日志:

  

添加类型:(0):无法找到消息文件'cscui.dll'(1):名称空间VstsTaskSdk.FS位于C:\ tfsagent_work_tasks \ VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda \ 1.119.0 \ ps_modules \ VstsTaskSdk \ LongPathFunctions.ps1:212 char:1 + Add-Type -Debug:$ false -TypeDefinition @'+ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ + + CategoryInfo:InvalidData:(Microsoft.Power ... peCompilerError:AddTypeCompilerError)[Add-Type],异常+ FullyQualifiedErrorId:SOURCE_CODE_ERROR,Microsoft.PowerShell.Commands。 AddTypeCommand

  

找不到类型[VstsTaskSdk.TerminationException]。退出代码1   进程返回:文件名   'C:\ Windows \ System32 \ WindowsPowerShell \ v1.0 \ powershell.exe',参数   '-NoLogo -Sta -NoProfile -NonInteractive -ExecutionPolicy不受限制   -Command“。([scriptblock] :: Create('if(!$ PSHOME){$ null = Get-Item -LiteralPath``variable:PSHOME''}否则{Import-Module -Name([System.IO.Path ] :: Combine($ PSHOME,   ''模块\ Microsoft.PowerShell.Management \ Microsoft.PowerShell.Management.psd1''))   ;导入模块名称([System.IO.Path] :: Combine($ PSHOME,   ''模块\ Microsoft.PowerShell.Utility \ Microsoft.PowerShell.Utility.psd1''))   }'))2>&1 | ForEach-Object {写详细$ _。Exception.Message   -详细};导入模块-名称'C:\ tfsagent_work_tasks \ VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda \ 1.119.0 \ ps_modules \ VstsTaskSdk \ VstsTaskSdk.psd1'   -ArgumentList @ {NonInteractive = $ true} -ErrorAction停止; $ VerbosePreference ='SilentlyContinue'; $ DebugPreference =   'SilentlyContinue'; Invoke-VstsTaskScript -ScriptBlock   ([[scriptblock] :: Create('。   ''C:\ tfsagent_work_tasks \ VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda \ 1.119.0 \ VSBuild.ps1'''))''''。

0 个答案:

没有答案