/// <summary> /// /// </summary> /// <param name="remoteSource"></param> /// <param name="siteRoot"></param> // Methods public WebProjectManager(string remoteSource, string siteRoot) { var sourceRepository = PackageRepositoryFactory.Default.CreateRepository(remoteSource); string webRepositoryDirectory = GetWebRepositoryDirectory(siteRoot); var pathResolver = new DefaultPackagePathResolver(webRepositoryDirectory); var localRepository = PackageRepositoryFactory.Default.CreateRepository(webRepositoryDirectory); IProjectSystem project = new WebProjectSystem(siteRoot); _projectManager = new ProjectManager(sourceRepository, pathResolver, project, localRepository); }