I have tried this for load a package using NuGet.Core . How shall I proceed further on this? I need to get the list of dependency packages of the package in a list from public/private feed using C#.
string packageID = "EntityFramework";
IPackageRepository repo = PackageRepositoryFactory.Default.CreateRepository("https://packages.nuget.org/api/v2");
var package = repo.FindPackage(packageID);
Found solution. package.DependencySets
gives the dependency sets.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.