http://blogs.clariusconsulting.net/kzu

Daniel Cazzulino's Blog

Go Back to
kzu′s Latest post

Increase developer productivity with NuGet packages with NuGet References

A typical solution usually has many projects, and many more NuGet packages in use:

image

 

How do you get a glance of what packages are installed on each project? Typically, you’d just open each of the packages.config XML files, or worse, go to the “Manage NuGet Packages…” dialog:

 

image

 

Which brings up a pretty daunting dialog:

 

image

 

If you wanted to uninstall a particular package, you could alternatively just type in the package manager console, but many developers aren’t as familiar with the available commands, or simply prefer to work in a more visual way. What if you could just expand the packages.config node, find the package you want to uninstall and click a context menu to do so?

 

image

 

That’s precisely what the NuGet References extension provides. All packages.config nodes in the solution explorer can now be expanded and all installed packages inspected. Not only can you directly update or uninstall the extension right from the solution explorer, but you can also search a given package to see which projects use it and may need updates!

 

image

 

You can also get information like the version and install path for a particular package by just selecting it and inspecting the properties window:

 

image

 

You can save valuable time by just checking for updates on specific packages, or uninstalling just what you want, right from the solution explorer.

In the future, if there’s enough demand, the extension could even show a sub-menu of Update that lists the last few available versions so that you can upgrade/downgrade quickly to try out how things work out before committing to a specific version.

 

You can get a free version of the extension from the Visual Studio Gallery. This version randomly disables the Uninstall/Update commands to encourage you to purchase the full version via the DevStore, which is also embedded in the free version.

Please report issues or suggestions at the Issue Tracker.

 

Enjoy!

Comments

1 Comment

  1. [...] but you can also search a given package to see which projects use it and may need updates!…Read full article Published Wednesday, June 05, 2013 6:35 PM by Daniel Cazzulino Filed under: [...]