The NuGet Blog

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

NuGet is now fully integrated into MSBuild

In the past, NuGet packages were managed in two different ways - packages.config and project.json - each with their own sets of advantages and limitations. With Visual Studio 2017 and .NET Core, we have improved the NuGet package management experience by introducing the PackageReference feature in MSBuild. PackageReference brings new and ...

Introducing The NuGet Beta Channel

Today, we would like to introduce you to the NuGet Beta Channel for the Visual Studio 2015 NuGet Package Manager. In the last 2 months, we have been focusing on improving the quality of the package management experience in Visual Studio 2015 and we have released over 3 consecutive versions of the package manager with added features, improved ...

NuGet 3 – Visual Studio User Interface Discussion

We want to continue our discussion of the recent changes made to the NuGet experience with the v3 releases, and in this second blog post of the series we are going to focus on the user interface updates that were made for Visual Studio 2015. I touched on it briefly in our last blog post about What and Why, but this time lets go a little deeper...

Visual Studio Tooling Guidance

As NuGet continues to gain momentum, more Microsoft teams have been seeking to install NuGet packages from their Visual Studio tooling. This began with ASP.NET, where NuGet was born, when project templates started coming with pre-installed NuGet packages. More recently, we've heard of teams all across Microsoft with tooling gestures that ...

Discontinuing Updates for Visual Studio 2010

As we work on some big changes for NuGet 3.x, we're finding that we're at a crossroads: Should we use .NET 4.5 and improve our Visual Studio UI using new features available in Visual Studio 2012, Visual Studio 2013, and Visual Studio "14"; or should we retain support for Visual Studio 2010? Visual Studio 2010 has been supported since NuGet's ...

Update All Experience Explained

While working on NuGet 2.8, we addressed some bugs dealing with the "Update All" behavior, where a single gesture will update all packages in the project. During the testing of those fixes, another bug was filed stating, After using Update All, packages remain in the Updates list. We have decided to mark that bug as "By Design" for now and get...

Starting Manage NuGet Packages for Solution dialog for projects under SourceGear Vault – issue and workaround

There has been reports that VS hangs when Manage NuGet Packages for Solution menu item is clicked. When VS responds again, it reports the following error: "Loading the projects is required to complete the requested action. If you click the Cancel button, project loading will continue in the background, and you can try to perform the action ...

Package Restore and Consent Changes

When NuGet 2.0 released, it included the requirement that in order to use package restore, you first needed to explicitly provide consent to the NuGet client to download packages over the Internet. This requirement added some friction to normal developer workflows, and it added more friction in build and continuous integration sever scenarios...

Invoke the Manage NuGet Packages dialog programmatically

Recently I've been asked several times for how to invoke the Manage NuGet Packages dialog from VS components programmatically, and optionally auto-invoke the search when the dialog opens. Today I'd like to share the solution in this post. It's actually very straightforward. The Manage NuGet Packages menu command is registered as a standard VS...