The NuGet Blog

The latest news, updates, and insights from the NuGet team

Where else is NuGet used in Visual Studio?

All NuGet users are probably familiar with both the Manage NuGet Packages dialog and the Package Manager Console. These are the main user interfaces for installing and managing packages. However, NuGet is also used in a couple of more subtle places. Below are a few of them that I am aware of. With the exception of the New Project dialog, ...

Play with Packages, programmatically!

One of the many often seen requests, from developers using NuGet, is examples on our NuGet core APIs. The requests range from finding meta-data for the packages to installing the package programmatically. In this blog post, I will provide a few examples of using NuGet Core APIs. Getting Started To use NuGet Core APIs, install NuGet.Core ...

Invoking NuGet Services from inside Visual Studio

One of the best kept secrets of the NuGet extension is that besides the UI that everyone has become familiar with, it also exports some useful services, via MEF, which allow other components in VS to interact with NuGet. These include installing packages, uninstalling packages and querying for installed packages. Over the past year, the NuGet...

Recent Changes to Package Restore Consent

When we released NuGet 2.0, one of the changes included the addition of a privacy-related constraint to the package restore feature. More specifically, NuGet 2.0 required that you provide explicit consent, via either a checkbox in the package manager configuration dialog or an environment variable, before it would successfully download ...

Package Restore and Consent

A little while back, our team had the pleasure of talking about NuGet with some privacy experts. These are folks who are passionate about your privacy and laws that protect your privacy. As we were describing NuGet's package restore feature, the privacy experts became interested in the details surrounding the package restore workflow – ...