public static IEnumerable<string> FindSolutions() { var currentDirectory = Environment.CurrentDirectory.ToFullPath(); var files = new FileSystem().FindFiles(currentDirectory, FileSet.Deep("*.sln")); return files.Select(x => x.ToFullPath().PathRelativeTo(currentDirectory)); }