azure - 还原包时使用了不正确的 nuget 提要
问题描述
由于 babelfor,我们的解决方案中有一个自定义提要来引用我们的提要。
它已经工作了一段时间,但最近,我不得不添加一个新代理,显然,这项工作似乎失败了:
##[error]The nuget command failed with exit code(1) and error(Errors in packages.config projects
Unable to find version '9.4.0' of package 'Babel.Obfuscator'.
https://api.nuget.org/v3/index.json: Package 'Babel.Obfuscator.9.4.0' is not found on source '
##[error]Packages failed to restore
由于某些原因,它现在似乎不使用自定义 nuget 存储库。
以下是在我们的 yml 作业描述中配置任务的方式:
- task: NuGetCommand@2
inputs:
command: 'restore'
restoreSolution: '$(solution)'
feedsToUse: 'select'
vstsFeed: Babel3
includeNuGetOrg: true
如您所见,它是正确的版本(9.4.0)。
在我们的解决方案中,我们只有一个包源,也叫 Babel3:
知道发生了什么吗?
解决方案
推荐阅读
- php - PHP Codeigniter 上传功能不起作用
- machine-learning - Caffe 错误:标签数量必须与预测数量匹配
- javascript - Karma + Jasmine(Angular 测试):我应该在哪里定义模拟类和测试变量?
- php - 在服务器上找不到 Codeigniter 返回
- css - Jekyll 的问题(不包括样式表?)
- nuget - 在 Inno Setup 中使用通配符查找目录
- python - tf.layers.dense 和 tf.nn.xw_plus_b 的区别
- javascript - 什么可以防止滥用 Firebase 的 createUserWithEmailAndPassword?
- android - 在带有导航架构组件的片段中显示备份/备份确认
- raku - Perl6:.sort() 不使用覆盖的 cmp