NuGet package restore used to be MSBuild-based. You had to explicitly enable it using the context menu on a Visual Studio solution: right-click the solution and select Enable NuGet Package Restore. The MSBuild-based NuGet package restore has issues so it's better not to use it. All you need to do is to make sure that your Visual Studio options allow NuGet to download any missing packages in a pre-build phase. Concerned about the build server? Here's what to do.