Enabling and disabling package restore

Automatic restore and command-line restore is enabled by default with NuGet 2.7 and later. MSBuild-integrated restore and command-line restore is not enabled by default for NuGet 2.6 and earlier and must be enabled manually. More… 

Package restore is primarily enabled through Tools > Options > [NuGet] Package Manager > General in Visual Studio:+

Controlling package restore behaviors through NuGet Package Manager options

Anuncios