private void SetVersionForSolution(string projectPath, Version defaultVersion, string additionalInfo)
{
var helper = new ProjectPathHelper(this.fileSystem);
var solutionParser = new SolutionParser(this.fileSystem);
List<string> projectPaths = solutionParser
.GetProjectPaths(projectPath)
.Select(x => helper.ResolveProjectRelativePath(projectPath, x))
.ToList();
foreach (string path in projectPaths)
{
SetVersionForProject(path, defaultVersion, additionalInfo);
}
}