示例#1
0
 /// <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));
 }
示例#2
0
        /// <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));
        }