从TFS 2015尝试从私有供稿还原包时出错

问题描述 投票:0回答:1

我们有一个内部部署TFS 2015构建。我们最近添加了对第三方包的引用。在nuget restore步骤还原包之前,我已经在构建管道中添加了MSBUILD构建步骤。

enter image description here

这里是nuget restore构建任务

enter image description here

这里是MSBUILD步骤

enter image description here

我收到的错误消息是这个。

Failed to retrieve information about 'myPrivatePackage' from remote source 'https://nuget.myPrivatePackage.com/nuget/FindPackagesById()?id='myPrivatePackage'&semVerLevel=2.0.0'.
The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.

这是构建输出日志。

enter image description here

任何想法导致错误的原因以及如何解决?

tfs nuget tfs-2015 nuget-package-restore
1个回答
0
投票

根据您的屏幕截图。我注意到的一个问题是,MSBuild任务完全在进行还原。不应该这样让Nuget任务执行NuGet还原。

© www.soinside.com 2019 - 2024. All rights reserved.