Пример #1
0
        /// <summary>
        /// Creating package managers for all the projects will force the
        /// repositories.config file to be created.
        /// </summary>
        void ForceCreationOfSharedRepositoriesConfigFile()
        {
            var repository = PackageManagementServices.RegisteredPackageRepositories.CreateAggregateRepository();

            solution.GetProjects(repository).ToList();
        }
        IEnumerable <IPackageManagementProject> GetProjects()
        {
            IPackageRepository repository = registeredPackageRepositories.CreateAggregateRepository();

            return(solution.GetProjects(repository).ToList());
        }