我们有一个内部部署TFS 2015构建。我们最近添加了对第三方包的引用。在nuget restore
步骤还原包之前,我已经在构建管道中添加了MSBUILD
构建步骤。
这里是nuget restore
构建任务
这里是MSBUILD
步骤
我收到的错误消息是这个。
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.
这是构建输出日志。
任何想法导致错误的原因以及如何解决?
根据您的屏幕截图。我注意到的一个问题是,MSBuild任务完全在进行还原。不应该这样让Nuget任务执行NuGet还原。