Local NuGet package dependencies - resolve from official Nuget feed?
-
12-11-2019 - |
Question
I've created my own NuGet package containing some libraries that my team will be using for an upcoming project. In the .nuspec file, I've defined the following dependencies:
<dependencies>
<dependency id="Castle.Core" version="2.5.2" />
<dependency id="Castle.Windsor" version="2.5.2" />
</dependencies>
However, when I try to install the package from a local folder using Add Library Reference, I get an error saying "Unable to resolve dependency 'Castle.Core (>= 2.5.2)'"
Can I somehow persuade NuGet to resolve dependencies by searching the online repositories?
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow