Duped by
http://nuget.codeplex.com/workitem/862
While using the Add Library Package Reference dialog, selecting a package source and installing a package from that source which relies on a package from another source throws an error message: "Unable to resolve dependency '[remote Package name]'"
Steps to reproduce:
1) Create a custom repository (whether file or web based seems to be irrelevant)
2) Add a custom package to the custom repository which depends on a package from another repository. e.g. [MyRepository: MyPackage] depends on [NuGet official repository: Newtonsoft.Json]
3) Open the Add Library Package Reference Dialog
4)
SELECT YOUR CUSTOM REPOSITORY (this part is important)
5) Select your custom package and click Install
Workaround
If you instead select "All" as your package source, and then search for your package everything works fine! This seems to be some kind of "scope" issue within the dialog itself. i.e. the package manager seems to be ignorant of anything outside of the selected Package Source