开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜