在 Bit Framework 的构建阶段无法恢复包

Packages failed to restore during build phase for Bit Framework

我正在创建我的第一个基于 Bit Framework 的项目构建定义。 我在构建定义的 Nuget Restore 任务中遇到此错误。

The nuget command failed with exit code(1) and error(NU1101:
Unable to find package BCrypt.Net-Next. 
No packages exist with this id in source(s): Bit

Packages failed to restore

如何恢复BCrypt.Net-项目中的下一个包?

在 NuGet.config 选项中使用 Feeds 在 Feeds and authentication 部分。然后使用文件资源管理器选项选择 nuget.config 文件。

Nuget.config

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <add key="Bit" value="https://www.myget.org/F/bit-foundation/api/v3/index.json" />
    <add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
  </packageSources>
</configuration>