mehrandvd
mehrandvd

Reputation: 9116

Packages failed to restore during build phase for Bit Framework

I'm creating my first build definition of a project based on Bit Framework. I'm getting this error on Nuget Restore task on my build definition.

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

How can I restore BCrypt.Net-Next package in the project?

Upvotes: 0

Views: 113

Answers (1)

Yaser Moradi
Yaser Moradi

Reputation: 3317

Use Feeds in my NuGet.config option in Feeds and authentication section. Then choose nuget.config file using file explorer option.

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>

Upvotes: 0

Related Questions