Beispiel #1
0
        public static string GetFailedProcessMessage(string step, Project project, ProcessEx processResult)
        {
            return($@"Project {project.ProjectArguments} failed to {step}.
{processResult.GetFormattedOutput()}");
        }
Beispiel #2
0
        public static string GetFailedProcessMessageOrEmpty(string step, Project project, ProcessEx process)
        {
            return process.HasExited ? $@"Project {project.ProjectArguments} failed to {step}.
{process.GetFormattedOutput()}" : "";
        }