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

Extending the Package Manager Console

So far, you’ve seen how you can extend the NuGet command line. While handy, NuGet extensions of this type only worked from the command prompt. What about extending Visual Studio? The Package Manager Console is just a PowerShell console with additional variables like $dte, an object representing Visual Studio itself.

NuGet already speeds up your development in terms of dependency management, but having the Package Manager Console at hand inside Visual Studio makes NuGet incredibly powerful for extending your Visual Studio environment as well.

This section will guide you through the creation of PowerShell cmdlets that can be run in the Package Manager Console. It starts with some simple cmdlets that (of course) ...

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