/// <summary> /// Builds a project and all of its dependencies. /// </summary> public async Task <ProcessResult> BuildAsync(DotNetBuildArguments arguments, CancellationToken cancelToken = default(CancellationToken)) { return(await RunAsync(arguments.GetArguments(), cancelToken)); }
/// <summary> /// Builds a project and all of its dependencies. /// </summary> public ProcessResult Build(DotNetBuildArguments arguments, CancellationToken cancelToken = default(CancellationToken)) { var argumentList = arguments.GetArguments().ToArray(); return(Execute(string.Join(" ", argumentList), cancelToken)); }