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);
}