Example #1
0
        public async Task <Package[]> GetInstalledPackages()
        {
            var installedPackages = new Dictionary <string, Package>();

            foreach (string projFilePath in ProjectFiles)
            {
                var project = Project.Load(projFilePath);
                AddPackages(project, installedPackages);
            }

            SetPackageConflicts(installedPackages);

            await MetaManager.SetPackageMeta(installedPackages.Values);

            return(installedPackages.Values.OrderBy(p => p.Name).ToArray());
        }