NuGet - https://www.nuget.org/packages/Arbor.Tooler
GitHub - https://github.com/niklaslundberg/arbor.tooler
License - MIT https://github.com/niklaslundberg/Arbor.Tooler/blob/master/LICENSE.txt
- Downloads nuget.exe from a specified URL or by default from nuget.org
- Downloads latest stable nuget.exe available at nuget.org by default
- Downloads a NuGet package with nuget.exe to a specified directory or by default to the current user's %LocalApplicationData%\Arbor.Tooler\Packages
- Downloads latest stable version by default
- AllowPreRelease, default false
- NugetSource, default null, using user's default settings
- NugetConfigFile, default null, using user's default settings
NuGetPackageInstallResult result = await new NuGetPackageInstaller().InstallPackageAsync("Arbor.Tooler");
Console.WriteLine(result.NuGetPackageId);
Console.WriteLine(result.SemanticVersion);
Console.WriteLine(result.PackageDirectory);