public override void Run(Solution solution, IList <PackageReferencesForCreatedProject> packageReferencesForCreatedProjects)
        {
            List <InstallPackageAction>  installPackageActions = CreateInstallPackageActions(solution, packageReferencesForCreatedProjects);
            ProgressMonitorStatusMessage progressMessage       = ProgressMonitorStatusMessageFactory.CreateInstallingProjectTemplatePackagesMessage();

            backgroundPackageActionRunner.Run(progressMessage, installPackageActions);
        }
Beispiel #2
0
        public override void Run(Solution solution, IList <PackageReferencesForCreatedProject> packageReferencesForCreatedProjects)
        {
            List <IPackageAction> installPackageActions = CreatePackageActions(solution, packageReferencesForCreatedProjects);

            if (!installPackageActions.Any())
            {
                return;
            }

            ProgressMonitorStatusMessage progressMessage = ProgressMonitorStatusMessageFactory.CreateInstallingProjectTemplatePackagesMessage();

            PackageManagementMSBuildExtension.PackageRestoreTask =
                backgroundPackageActionRunner.RunAsync(progressMessage, installPackageActions);
        }