Exemplo n.º 1
0
        public static void Main(string[] args)
        {
            Args = new CommandLineArguments(args);
            if (!Args.AreArgumentsValid)
            {
                Console.WriteLine("Invalid arguments. Use -help to list possible arguments.");
                return;
            }
            if (Args.ShowHelp)
            {
                ShowHelp();
                return;
            }

            builder = new Builder {
                SolutionPath   = Args.SolutionPath,
                ExecutablePath = Args.ExecutablePath,
                ExecutableArgs = Args.ExecutableArgs
            };

            if (Args.ConsoleMode)
            {
                StartConsoleMode();
            }
            else
            {
                StartUIMode(args);
            }
        }