【问题标题】:Azure DevOps pipeline missing ComponentSpace licenceAzure DevOps 管道缺少 ComponentSpace 许可证
【发布时间】:2020-06-26 08:02:26
【问题描述】:

尝试在 Azure DevOps 上运行管道构建时,我收到以下错误:

##[error]The nuget command failed with exit code(1) and error(NU1101: Unable to find package ComponentSpace.Saml2.Licensed. No packages exist with this id in source(s): NuGetOrg

有人可以指出如何包含许可证的文章吗?或者可以告诉我如何修复它以通过构建?

谢谢

【问题讨论】:

    标签: .net-core build azure-devops pipeline component-space


    【解决方案1】:

    NuGet 错误 NU1101 表示在任何来源都找不到该包。

    解决方案

    在 Visual Studio 中检查项目的依赖项以确保您 使用正确的包标识符和版本号。还要检查 NuGet 配置标识您的包源 预计会使用。如果您使用具有语义的软件包 版本 2.0.0,请确保您使用的是 V3 提要, https://api.nuget.org/v3/index.json,在 NuGet 配置中。

    https://docs.microsoft.com/en-us/nuget/reference/errors-and-warnings/nu1101

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-11-21
      • 2019-11-23
      • 2020-12-02
      • 2022-06-11
      相关资源
      最近更新 更多