private static Solution LoadSolution(ProjectOption options)
{
var currentDir = Directory.GetCurrentDirectory();
var solutionFile = Path.Combine(currentDir, options.Solution);
if (System.IO.File.Exists(solutionFile))
{
return Solution.Load(solutionFile);
}
throw new Exception("Solution file: " + options.Solution + "could not be found.");
}