restore consent on CI

Topics: General
Jul 13, 2012 at 4:11 PM

How do I enable consent for package restore (new 2.0 feature) on a CI server that does not have a NuGet.Config?  The build server service (no homedir) runs the builds.

Jul 13, 2012 at 4:15 PM

RTFM - "In that case, NuGet will also look for an environment variable called EnableNuGetPackageRestore. To enable package restore for scenarios where the Visual Studio option is not practical, set this variable to true."

Apologies :-)