Esempio n. 1
0
		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.");
		}
Esempio n. 2
0
        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.");
        }
Esempio n. 3
0
        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.");
        }