Пример #1
0
        private DotNetBuilder(BuilderOptions options, string?dotnetPath, CancellationToken cancellationToken = default)
        {
            _options    = options;
            _dotnetPath = dotnetPath ?? string.Empty;

            InitTargets(cancellationToken);
        }
Пример #2
0
 public static async Task <DotNetBuilder> CreatBuilderAsync(BuilderOptions options, CancellationToken cancellationToken = default)
 {
     return(new DotNetBuilder(options, await TryFindDotNetPathAsync(), cancellationToken));
 }