Esempio n. 1
0
        public void Run()
        {
            ProgressMonitorStatusMessage progressMessage = ProgressMonitorStatusMessageFactory.CreateRestoringPackagesInSolutionMessage();
            IProgressMonitor             progressMonitor = CreateProgressMonitor(progressMessage);

            try {
                RestorePackages(progressMonitor, progressMessage);
            } catch (Exception ex) {
                LoggingService.LogInternalError(ex);
                progressMonitor.Log.WriteLine(ex.Message);
                progressMonitor.ReportError(progressMessage.Error, null);
                progressMonitor.ShowPackageConsole();
                progressMonitor.Dispose();
            }
        }
Esempio n. 2
0
 public void Restore()
 {
     Restore(ProgressMonitorStatusMessageFactory.CreateRestoringPackagesInSolutionMessage());
 }