public DotNetProject FindProject(string name) { foreach (Project project in projectService.GetOpenProjects()) { if (IsProjectNameMatch(project, name)) { return(project as DotNetProject); } } return(null); }
public void RegisterConsole(IScriptingConsole console) { packageManagementConsole = console; IdeApp.Workspace.SolutionLoaded += SolutionLoaded; IdeApp.Workspace.SolutionUnloaded += SolutionUnloaded; projects = new ObservableCollection <Project> (projectService.GetOpenProjects()); CreateCommands(); UpdatePackageSourceViewModels(); ReceiveNotificationsWhenPackageSourcesUpdated(); UpdateDefaultProject(); InitConsoleHost(); }
IEnumerable <MD.DotNetProject> GetOpenMSBuildProjects() { return(projectService.GetOpenProjects()); }
public IEnumerable <Project> GetDotNetProjects() { return(projectService.GetOpenProjects()); }