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

UpdatePackage() private static method

private static UpdatePackage ( string id ) : void
id string
return void
		private static void UpdatePackage(string id)
		{
			Console.WriteLine("Updating {0}...", id);

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

			Run(
				@"update ""{0}"" -RepositoryPath ""{1}"" -Id ""{2}"" -MSBuildVersion 14 -NonInteractive -Verbosity Detailed",
				Paths.PackagesConfig,
				Args.PackagesPath,
				id);
		}