Multiple NuGet Server Sources

Mar 22, 2011 at 4:47 PM

So we host our own NuGet server at our company for our proprietary libraries.  However these libraries use NHibernate and other available libraries through the official nuget server.  The issue I'm seeing is if my library "A" that is hosted on our server, depends on NHibernate, if I don't host NHibernate on my own server, it can't figure out where to get it, there should be the ability to retrieve the library from the official source if it doesn't exist on the hosted remote server.

Mar 22, 2011 at 4:49 PM

You can make this work by making sure your hosted server is listed first in the list of package sources and then select the "all" node. When you use the all node, we aggregate package sources. BTW, we may actually change this behavior in a future version to work exactly the way you described. But for now, you'll need to use the all node.

Apr 1, 2011 at 4:03 PM

How about from the command line?