public bool Build(string[] targets, IEnumerable <ILogger> loggers, IEnumerable <ForwardingLoggerRecord> remoteLoggers, out IDictionary <string, TargetResult> targetOutputs) { var manager = new BuildManager(); var parameters = new BuildParameters(projects) { ForwardingLoggers = remoteLoggers, Loggers = loggers, }; var requestData = new BuildRequestData(this, targets ?? DefaultTargets.ToArray()); var result = manager.Build(parameters, requestData); targetOutputs = result.ResultsByTarget; return(result.OverallResult == BuildResultCode.Success); }
public bool Build(IEnumerable <ILogger> loggers, IEnumerable <ForwardingLoggerRecord> remoteLoggers) { return(Build(DefaultTargets.ToArray(), loggers, remoteLoggers)); }