IEnumerable <PackageReference> GetPackageReferencesForSingleProject() { IPackageRepository repository = repositoryCache.CreateAggregateRepository(); IPackageManagementProject project = solution.GetProject(repository, Project); return(project.GetPackageReferences()); }
public IPackageRepository CreateAggregateRepository() { return(repositoryCache.CreateAggregateRepository()); }
public IPackageRepository CreateAggregateRepository(IEnumerable <IPackageRepository> repositories) { return(packageRepositoryCache.CreateAggregateRepository(repositories)); }
IPackageManagementProject CreatePackageManagementProject(DotNetProject project) { var dotNetProject = new DotNetProjectProxy(project); return(packageManagementSolution.GetProject(packageRepositoryCache.CreateAggregateRepository(), dotNetProject)); }
IPackageManagementProject CreatePackageManagementProject(MSBuildBasedProject project) { IPackageRepository repository = packageRepositoryCache.CreateAggregateRepository(); return(projectFactory.CreateProject(repository, project)); }