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. Needless to say, the feedback was not positive, and since releasing 2.0, we’ve been working with various groups to remove this friction.
With NuGet 2.7, we have been able to remove the explicit consent requirement by making consent the default behavior and providing a means to explicitly “opt-out”. If you do not wish to have NuGet download packages from the Internet, you can disable the behavior by unselecting one or both of the checkboxes in the Package Manager settings dialog.
Additionally, we have documented a known issue and work around where it may appear that the default consent behavior has not changed in a clean installation of Visual Studio 2013.
Thanks for bearing with us through any friction that the explicit consent requirement added to your work, and we hope that you’ll enjoy the freedom from that requirement going forward!