Migrate away from MSBuild-based NuGet package restore

added by Paul Wheeler
3/10/2014 5:28:21 PM

5 Kicks, 61 Views

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.