private DotNetBuilder(BuilderOptions options, string?dotnetPath, CancellationToken cancellationToken = default) { _options = options; _dotnetPath = dotnetPath ?? string.Empty; InitTargets(cancellationToken); }
public static DotNetBuilder CreatBuilderAsync(BuilderOptions options, CancellationToken cancellationToken = default) { return(new DotNetBuilder(options, TryFindDotNetExePath(), cancellationToken)); }