The NuGet Blog

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

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...

Friendly License Names

Yesterday afternoon, we enabled a new feature for both the NuGet gallery and the Visual Studio client (for NuGet >= 2.7) which will display the list of license names for a package in addition to simply providing a link to the license text. The big idea behind this feature is that it will aid in the decision making process over whether or ...

How to use XDT in NuGet – Examples and Facts

Starting with NuGet 2.6, XML-Document-Transform (XDT) is supported to transform XML files inside a project. The XDT syntax can be utilized in the .install.xdt and .uninstall.xdt file(s) under the package's Content folder, which will be applied during package installation and uninstallation time, respectively. One of XDT’s greatest strengths...

Issues uploading portable library packages [Fixed]

Starting September 3rd, some users started having issues uploading packages that contain portable libraries; on September 10th, we deployed a fix to address those issues. Errors Experienced Depending on how you were publishing your package, you would have experienced the errors in a few different ways. Upload Package page on nuget.org If ...

NuGet 2.7 Package Restore Consent Errors

After NuGet 2.7 was released with Automatic Package Restore and implicit consent, some users reported that they were still seeing build errors indicating that package restore consent had not been given. When we made the package restore changes in NuGet 2.7, we identified one scenario where this would happen but determined we couldn't implement...

Editing Package Metadata on the NuGet Gallery

In our next deployment, which is scheduled for the week of August 26th, 2013, we have added the ability to edit package metadata at any point in time before or after publishing the package. This has been one of the frequent requests from package authors. The changes are current dpeloyed @ staging.nuget.org. You can play around with the ...

NuGet 2.7 Released

The NuGet team is excited to announce that NuGet 2.7 is now released in stable form. We published the release candidate on August 14th and we have not made any changes since then. For details about what's in the release, the release notes are published on docs.nuget.org. NuGet 2.7 Features Note that with NuGet 2.7, we have ...

Introducing NuGet Concierge

Twelve weeks ago, Microsoft's Azure Applications Platform & Tools team welcomed three 2nd-year college students, Jaspreet Bagga, Jeremiah Jekich, and Melissa McNeill, and gave them an opportunity to contribute to NuGet. Package Discovery Discovering NuGet packages can be a daunting process. The best way to do so is either via word of ...

NuGet 2.7 Release Candidate Available

The NuGet 2.7 Release Candidate is now available, with an expected release before the end of August. If you encounter any problems with NuGet 2.7, especially any regressions, please file an issue on CodePlex right away and prefix the issue with "[NuGet 2.7]". Please note that we plan to include NuGet 2.7 in the final ...

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...