Example #1
0
 private void OnBeforeClosing()
 {
     DefaultProjectName = null;
     _projectCache      = null;
     if (SolutionClosing != null)
     {
         SolutionClosing(this, EventArgs.Empty);
     }
 }
Example #2
0
        private void EnsureProjectCache()
        {
            if (IsSolutionOpen && _projectCache == null)
            {
                _projectCache = new ProjectCache();

                var allProjects = _dte.Solution.GetAllProjects();
                foreach (Project project in allProjects)
                {
                    AddProjectToCache(project);
                }
            }
        }
Example #3
0
        private void EnsureProjectCache()
        {
            if (IsSolutionOpen && _projectCache == null)
            {
                _projectCache = new ProjectCache();

                var allProjects = _dte.Solution.GetAllProjects();
                foreach (Project project in allProjects)
                {
                    AddProjectToCache(project);
                }
            }
        }
Example #4
0
 private void OnBeforeClosing()
 {
     DefaultProjectName = null;
     _projectCache = null;
     if (SolutionClosing != null)
     {
         SolutionClosing(this, EventArgs.Empty);
     }
 }