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."); }
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."); }
private static ISolution LoadSolution(ProjectOption options) { var currentDir = Directory.GetCurrentDirectory(); var solutionFile = Path.Combine(currentDir, options.Solution); if (System.IO.File.Exists(solutionFile)) { return(AvalonStudioSolution.LoadAsync(solutionFile).GetAwaiter().GetResult()); } throw new Exception("Solution file: " + options.Solution + "could not be found."); }