Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "Highest Installed" dependency resolution option #2144

Closed
kamranayub opened this issue Feb 20, 2016 · 3 comments
Closed

Add "Highest Installed" dependency resolution option #2144

kamranayub opened this issue Feb 20, 2016 · 3 comments
Labels
Type:DCR Design Change Request
Milestone

Comments

@kamranayub
Copy link

Problem

When installing a Nuget package for a project that depends on packages I already have installed solution-wide (e.g. Newtonsoft.Json), there is currently no way for Nuget to use my existing installed version of Newtonsoft.Json that satisfies the package's dependency.

Workaround

I either have to use the highest version (then consolidate), highest patch/minor (then consolidate), ignore ALL dependencies (and make note of all dependencies to install that I do not have), or leave as-is and consolidate afterwards.

Expected

Nuget should have a "Highest Installed" option which would resolve all packages I have already installed that satisfy the package's dependency requirements (and probably, the dependencies' dependencies).

@yishaigalatzer yishaigalatzer added this to the Client-VNext milestone Feb 22, 2016
@yishaigalatzer yishaigalatzer added the Type:DCR Design Change Request label Feb 22, 2016
@yishaigalatzer
Copy link

@kamranayub thanks for the idea!

We have slightly different plans for this area, but the idea sounds viable on its own. So moving out to vNext and we will get to it at some point.

@kamranayub
Copy link
Author

Fantastic, thank you!

On Mon, Feb 22, 2016, 11:45 Yishai Galatzer notifications@github.com
wrote:

@kamranayub https://github.com/kamranayub thanks for the idea!

We have slightly different plans for this area, but the idea sounds viable
on its own. So moving out to vNext and we will get to it at some point.


Reply to this email directly or view it on GitHub
#2144 (comment).

@harikmenon harikmenon modified the milestone: Client-VNext Apr 19, 2016
@nkolev92
Copy link
Member

At this point, we're urging users to move to package reference where they have different type of resolution control, which we're considering enhancing with a true lock to enable repeatable builds etc.

#5602

As such, we're not planning on investing in this area.
Since there aren't too many similar requests here, I'll close this issue.

@nkolev92 nkolev92 added this to the 4.7 milestone Feb 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type:DCR Design Change Request
Projects
None yet
Development

No branches or pull requests

5 participants