How to start NuGet v2.x package recovery from CruiseControl.Net

Is it possible to initiate the restoration of the NuGet v2.x package when trying to build a VS2010 solution using CruiseControl.Net?

We recently created CCNET and are just trying to run a test build of our core solution. Many projects in the main solution support NuGet package recovery. The package folder is not tied to our VCS. Due to the new β€œfeature” associated with the need to allow recovery of a package in Visual Studio, MSBuild fails when it hits the target of the recovery package in the nuget.targets file.

If this is possible without drastic changes for every project that uses NuGet, or to write a custom build script, what is the best way to restore the package?

+7
source share
1 answer

from http://docs.nuget.org/docs/workflows/using-nuget-without-committing-packages To enable package recovery for build servers without installing Visual Studio, you can also set the EnableNuGetPackageRestore environment variable to true.

+7
source

All Articles