public IEnumerable<string> GetProjectPaths(string solutionFileName)
{
string slnText = this.fileSystem.ReadAllText(solutionFileName);
return projectPathsRegex
.Matches(slnText)
.Cast<Match>()
.SelectMany(x => x.Groups["ProjectPath"].Captures.Cast<Capture>())
.Select(x => x.Value)
.Where(x => x.ToLowerInvariant().EndsWith(".csproj"))
.ToList();
}
}