O'Reilly logo

Pro NuGet by Xavier Decoster, Maarten Balliauw

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Managing Packages in a Solution

So far, we've shown you how you can add, update, and remove packages at the project level. In a lot of software development projects, multiple projects share the same dependencies. For example, multiple projects in a solution can have a dependency on Microsoft's Entity Framework (which is also on NuGet with package ID EntityFramework).

Both the NuGet Visual Studio Extension and the Package Manager Console support managing and updating packages across project boundaries. This enables you to have a consistent set of package dependencies in your solution, all having the same version and assemblies. Imagine if you had to update references manually in multiple projects!

Using a large Visual Studio solution, this section ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required