Local NuGet package dependencies - resolve from official Nuget feed?
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>
&l开发者_C百科t;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?
You need to select the "All" source.
精彩评论