Example #1
0
 internal static void UpgradeSolutions(DTE dte)
 {
     Helpers.ShowProgress(dte, "Upgrading solutions...", 30);
     Helpers.LogMessage(dte, dte, "*** Upgrading selected solutions ***");
     DeploymentHelpers.UpgradeProject(dte, Helpers.GetSelectedDeploymentProjects(dte));
     Helpers.HideProgress(dte);
 }
Example #2
0
        internal static bool CheckRebuildForSelectedProjects(DTE dte)
        {
            Helpers.LogMessage(dte, dte, "*** Check selected projects if rebuild is required ***");
            List <Project> projects = Helpers.GetSelectedDeploymentProjects(dte);

            foreach (Project project in projects)
            {
                if (!DeploymentHelpers.CheckRebuildForProject(dte, project))
                {
                    return(false);
                }
            }
            return(true);
        }