コード例 #1
0
        public string BuildSolution(string solutionFile)
        {
            string args    = string.Format(BuildSolutionCommand, solutionFile);
            string results = AppProcessor.StartNewCMDProcess(MSBuildFileFullPath.Replace(".exe", ""), args);

            return(results);
        }
コード例 #2
0
        public string BuildSolution(string solutionFile)
        {
            string args = string.Format(BuildSolutionCommand, solutionFile);
            //AppProcessor.StartNewCMDProcess(VSDevenvFileFullPath, args);
            //var p = AppProcessor.StartNewProcess(VSDevenvFileFullPath.Replace(".exe",""), args);
            //p.WaitForExit();
            //p.Close();
            string results = AppProcessor.StartNewCMDProcess(MSBuildFileFullPath.Replace(".exe", ""), args);

            return(results);
        }