コード例 #1
0
        public string svnUtil_Execute(string target)
        {
            var parameters = "";

            if (target.valid())
            {
                if (TargetDirectory.valid())
                {
                    parameters = " /directory:\"{0}\" {1}".format(TargetDirectory, parameters);
                }
                if (OutputTarget.valid())
                {
                    parameters = " /target:{0} {1}".format(OutputTarget, parameters);
                }

                parameters += "\"" + target + "\"";
            }
            "Executing .NET SDK's SvcUtil.exe tool with parameters: {0}".info(parameters);
            return(Processes.startProcessAsConsoleApplicationAndReturnConsoleOutput(SvnUtil_Exe, parameters));
        }