Visual Studio Team Services的打包问题 [英] Packaging issues with Visual Studio Team Services

查看:79
本文介绍了Visual Studio Team Services的打包问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 在以下情况下,我们发现Nuget错误导致构建失败。

1)如果你有至少一个VSTS Nuget包源

2)如果你在构建定义中有多个NuGet恢复任务。


症状是,第二个NuGet还原构建任务失败。


您将看到如下错误消息: 

无法找到"Microsoft.Cosmos.Client"软件包的版本"1.8.1"。

## [debug] rc:1

## [debug]成功:false

## [错误]错误:C:\ BA [\\agent\Worker \Tools\\\
uget.exe失败,返回码:1)
## [错误]软件包无法安装

## [debug ]任务结果:失败

解决方案

您好AlisaRossi,


感谢您在此处发帖。


现在问题怎么样?请告知我们您是否仍然面临任何问题,对由此造成的不便表示遗憾,我们发生了与VSTS包相关的中断,现在已经解决并且工作正常。


请再次检查并告知我们反馈意见。


感谢您的理解。


问候,


 We see a build failure with Nuget errors under the below conditions.

1) If you have at least one VSTS Nuget package source
2) If you have more than one NuGet restore task in the build definition.

The symptom is, the second NuGet restore build task fails.

You will see an error message like below : 
Unable to find version ‘1.8.1’ of package ‘Microsoft.Cosmos.Client’.
##[debug]rc:1
##[debug]success:false
##[error]Error: C:\BA\agent\Worker\Tools\nuget.exe failed with return code: 1
##[error]Packages failed to install
##[debug]task result: Failed

解决方案

Hello AlisaRossi,

Thank you for posting in here.

How about the issue now? Please let us know are you still facing any issue, sorry for inconvenience caused, we had an outage related to VSTS Packages and now its resolved and working fine.
Please check again and let us know the feedback.

Thank you for understanding.

Regards,


这篇关于Visual Studio Team Services的打包问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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