CCNet.Build.SetupPackages.NuGetHelper.RestorePackages C# (CSharp) Method

RestorePackages() private static method

private static RestorePackages ( ) : void
return void
		private static void RestorePackages()
		{
			Console.WriteLine("Restoring packages...");

			if (String.IsNullOrEmpty(Args.PackagesPath))
				throw new InvalidOperationException("Packages path is not set.");

			Run(
				@"restore ""{0}"" -PackagesDirectory ""{1}"" -Source ""{2};http://www.nuget.org/api/v2"" -MSBuildVersion 14 -NonInteractive -Verbosity Detailed",
				Paths.PackagesConfig,
				Args.PackagesPath,
				Args.NuGetUrl);
		}