The NuGet Blog

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

Use your Microsoft account to log in to NuGet.org!

Starting today you can use your Microsoft account to log in to NuGet.org. I don't know about you, but I want as few passwords as possible, so any opportunity to get rid of a password is great. Now, your NuGet.org password doesn't have to be one of those many passwords you have to forget/lose/etc. To associate a Microsoft account with an ...

NuGet Governance Model

Over the last couple of years, we've had the chance to meet with many individuals who both use and contribute to NuGet. One of the questions that has come up on more than one occasion pertains to how decisions get made for NuGet, especially decisions around which features are included in NuGet releases. This is an understandable question, ...

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

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