public PackRoot(Runtime.Project project, string outputPath, IServiceProvider hostServices) { _project = project; Projects = new List <PackProject>(); Packages = new List <PackPackage>(); Runtimes = new List <PackRuntime>(); OutputPath = outputPath; HostServices = hostServices; PackagesPath = Path.Combine(outputPath, AppRootName, "packages"); Operations = new PackOperations(); }
public PackRoot(Runtime.Project project, string outputPath, IServiceProvider hostServices, Reports reports) { _project = project; Reports = reports; Projects = new List <PackProject>(); Packages = new List <PackPackage>(); Runtimes = new List <PackRuntime>(); OutputPath = outputPath; HostServices = hostServices; TargetPackagesPath = Path.Combine(outputPath, AppRootName, "packages"); Operations = new PackOperations(); LibraryDependencyContexts = new Dictionary <Library, IList <DependencyContext> >(); }