ProjectNode AddProjectToProjectBrowser(string projectFileName) { project.FileName = new FileName(projectFileName); projectBrowser.ViewSolution(project.ParentSolution); var solutionNode = (SolutionNode)projectBrowser.RootNode; return((ProjectNode)solutionNode.FirstNode); }
ProjectNode AddProjectToProjectBrowser(string projectFileName) { project = ProjectHelper.CreateTestProject(); project.FileName = projectFileName; projectBrowser.ViewSolution(project.ParentSolution); var solutionNode = projectBrowser.RootNode as SolutionNode; return(solutionNode.FirstNode as ProjectNode); }