Prevent accidental version drift within a solution. #1703
Labels
Priority:3
Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.
Status:Excluded from icebox cleanup
Status:Inactive
Icebox issues not updated for a specific long time
Type:Feature
Milestone
I've been away from the NuGet/VS game for a while, and came back to use it a few days ago. One of the things that still exists is the ability to, very easily, change the version of a dependency in one project but have another version with another project within the same solution, without any warnings or notification that this is the case. This inevitably leads to all manner of problems that usually only rear their head at runtime.
The NuGet tooling should either: -
(a) make this extremely difficult to do e.g. make the "manage nuget packages" dialog always show the solution-wide view rather than the project-specific view that you can get, with warnings saying "this will cause you lots of problems, don't do this" if you explicitly change one project rather than all of them, or
(b) use something akin to the Groups feature in Paket (http://fsprojects.github.io/Paket/faq.html#NuGet-allows-to-use-multiple-versions-of-the-same-package-Can-I-do-that-with-Paket). Lift package versioning to the top level and only refer to dependencies within a packages.config, and override this with a group if required.
The text was updated successfully, but these errors were encountered: