To find the menu item: “enable nuget package restore” right-click in the solution explorer on the solution – not on the project.
You get a message:
Do you want to configure this solution to download and restore missing NuGet packages during build?
Wasn’t that what you were looking for?