Friday, August 21, 2015

Visual Studio 2015–Enable NuGet Package Restore is gone

Yesterday when creating a new solution in Visual Studio 2015, I noticed that the ‘Enable NuGet Package Restore’ option had disappeared from the solution context menu. Bedroefde emoticon Whooops! What happened?

image

On StackOverflow I found that Microsoft has dropped support for the 'Enable NuGet Package Restore' in VS2015. Starting from NuGet 2.7 the way NuGet Package Restore works has changed. By default the NuGet Visual Studio extension integrates into Visual Studio's build events and restores missing packages when a build begins.

More information can be found in the NuGet documentation.

No comments: