Set the disableSourceControlIntegration in Nuget.Config to true. This key works at the solution level and hence need to be added to the $(Solutiondir)\\.nuget\\Nuget.Config file. Enabling package restore from Visual Studio creates this file automatically.