C#C
C#12mo ago
Kiel

How to publish/deploy a project which has dependencies on a private MyGet feed

Hi all, I've been experiencing issues publishing my project via docker. It fails to restore packages for one or more projects because they take a dependency on a NuGet package hosted on a private MyGet feed. What's the correct and/or best way to alleviate this? I think in the past I directly included the MyGet feed URL in the .csproj file(s) somewhere to indicate where the package was referenced from...but I don't know if that's the best, recommended, or easiest way to do it.

The errors (during docker build) all read to the tune of error NU1102: Unable to find package Disqord.Core with version (>= 1.0.0-alpha5.75) [/src/Administrator/Administrator.csproj]
Was this page helpful?