91

In NuGet for Visual Studio 2015, what is the difference between consolidate and update actions? In both cases I select a specific version that I want to use in selected projects.

yatskovsky
  • 1,168
  • 1
  • 7
  • 10
  • See https://artczernecki.wordpress.com/2015/09/08/consolidating-package-versions-with-visual-studio-2015-nuget-package-manager/ – Michael Freidgeim Jun 01 '16 at 03:32
  • Question from my understanding is what is the difference between Installed and Consolidate tabs. They apparently offer the same view/help doing the same thing. – Veverke Jan 27 '22 at 12:58
  • see also [why we need to consolidate packages with different versions?](//stackoverflow.com/q/70458434) – Michael Freidgeim Apr 11 '22 at 08:21

4 Answers4

107

The Update tab is geared to display packages which have updates available while the consolidation tab is geared to display discrepancies between projects where both consume the same nuget package but are targeting different versions.

Jordan Brooker
  • 1,151
  • 2
  • 8
  • 9
20

Sometimes the versions installed into projects within a solution can drift apart and it is necessary to consolidate the versions in use.

See https://docs.nuget.org/release-notes/nuget-3.0-preview for more information.

iwhp
  • 843
  • 6
  • 16
1

According to this blog, it simply makes it easier to update different versioned NuGet packages across your projects

Sevle
  • 3,109
  • 2
  • 19
  • 31
Mohamed Badr
  • 2,562
  • 2
  • 26
  • 43
1

Consolidate has now been documented here: NuGet Package Manager UI -> Consolidate tab


Tthanks to @kraigb to getting this into the official docs; reference: GitHub Issue

spottedmahn
  • 14,823
  • 13
  • 108
  • 178
  • 3
    Link-only answers are considered to be of poor quality. Consider to make the answer actually answering the question without need to go elsewhere to find the answer. – Sinatr Apr 12 '19 at 12:21