示例#1
0
        private void ProfileProjectTarget(SessionNode session, ProjectTarget projectTarget, bool openReport)
        {
            var project = Solution.EnumerateLoadedPythonProjects()
                          .SingleOrDefault(p => p.GetProjectIDGuidProperty() == projectTarget.TargetProject);

            if (project != null)
            {
                ProfileProject(session, project, openReport);
            }
            else
            {
                MessageBox.Show(Strings.ProjectNotFoundInSolution, Strings.ProductTitle);
            }
        }