private static void DownloadNuget(FilePath nugetToolPath) { using (var client = new WebClient()) { client.DownloadFile("https://dist.nuget.org/win-x86-commandline/latest/nuget.exe", nugetToolPath.FullPath); } }