Esempio n. 1
0
        private ToolsHelperResult Run(string mode)
        {
            var version = XmlSettingsReader.GetVersionInfo(solutionDir);

            string program   = solutionDir + @"\Release\" + GetApplicationName(mode);
            string arguments = GetRunArguments(version, mode);

            return(new ToolsHelperResult(StartLongProcess(program, arguments)));
        }
Esempio n. 2
0
        private ToolsHelperResult RunRepository(string mode)
        {
            var version = XmlSettingsReader.GetVersionInfo(solutionDir);

            string program = GetRepositoryExe(version, mode);

            if (string.IsNullOrEmpty(program))
            {
                return(new ToolsHelperResult(false, "Brak repozytorium!"));
            }
            ;



            string arguments = GetRunArguments(version, mode);

            return(new ToolsHelperResult(StartLongProcess(program, arguments)));
        }