/// <summary> /// The projects in a solution. This does not include solution folders. /// </summary> /// <returns></returns> public IEnumerable<TfsSolutionProject> Projects() { var solutionDir = Path.GetDirectoryName(ServerPath); var solutionParser = new SolutionFileParser(Download()); return solutionParser.GetProjects() .Select(p => Path.Combine(solutionDir, p)) .Select(p => VersionControl.GetItem(p)) .Where(p => p.ItemType == ItemType.File) .Select(p => new TfsSolutionProject(p, VersionControl)); }