You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
The text was updated successfully, but these errors were encountered:
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.
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).
The text was updated successfully, but these errors were encountered: