33 references to WriteStartOperationAsync
dotnet-svcutil-lib (33)
Bootstrapper\SvcutilBootstrapper.cs (4)
62
using (await SafeLogger.
WriteStartOperationAsync
(logger, "Bootstrapping svcutil ...").ConfigureAwait(false))
115
using (await SafeLogger.
WriteStartOperationAsync
(logger, $"Creating project file: \"{projectFullPath}\"").ConfigureAwait(false))
168
using (var safeLogger = await SafeLogger.
WriteStartOperationAsync
(logger, "Generating Program.cs ...").ConfigureAwait(false))
178
using (await SafeLogger.
WriteStartOperationAsync
(logger, $"Generating {paramsFilePath} params file ...").ConfigureAwait(false))
CommandProcessorOptions.cs (11)
288
using (SafeLogger safeLogger = await SafeLogger.
WriteStartOperationAsync
(this.Logger, "Validating options ...").ConfigureAwait(false))
331
using (SafeLogger logger = await SafeLogger.
WriteStartOperationAsync
(this.Logger, $"Resolving {ProjectFileKey} option ...").ConfigureAwait(false))
379
using (SafeLogger logger = await SafeLogger.
WriteStartOperationAsync
(this.Logger, $"Resolving {OutputDirKey} option ...").ConfigureAwait(false))
416
using (SafeLogger logger = await SafeLogger.
WriteStartOperationAsync
(this.Logger, $"Resolving {OutputFileKey} option ...").ConfigureAwait(false))
466
using (SafeLogger logger = await SafeLogger.
WriteStartOperationAsync
(this.Logger, $"Processing {UpdateServiceReferenceKey} option ...").ConfigureAwait(false))
569
using (SafeLogger logger = await SafeLogger.
WriteStartOperationAsync
(this.Logger, $"Processing {BootstrapPathKey} option ...").ConfigureAwait(false))
616
using (var logger = await SafeLogger.
WriteStartOperationAsync
(this.Logger, $"Processing {nameof(this.References)}, count: {this.References.Count}. Reference resolution enabled: {resolveReferences}").ConfigureAwait(false))
645
using (var logger = await SafeLogger.
WriteStartOperationAsync
(this.Logger, $"Processing {nameof(this.NamespaceMappings)}, count: {this.NamespaceMappings.Count}").ConfigureAwait(false))
695
using (SafeLogger logger = await SafeLogger.
WriteStartOperationAsync
(this.Logger, $"Resolving {TargetFrameworkKey} option ...").ConfigureAwait(false))
728
using (var safeLogger = await SafeLogger.
WriteStartOperationAsync
(this.Logger, $"Processing inputs, count: {this.Inputs.Count} ...").ConfigureAwait(false))
803
using (var logger = await SafeLogger.
WriteStartOperationAsync
(this.Logger, "Processing reference assemblies ...").ConfigureAwait(false))
Shared\MSBuildProj.cs (6)
161
using (var safeLogger = await SafeLogger.
WriteStartOperationAsync
(logger, $"Parsing project {Path.GetFileName(projectFullPath)}").ConfigureAwait(false))
693
using (await SafeLogger.
WriteStartOperationAsync
(logger, $"Saving project file: \"{this.FullPath}\"").ConfigureAwait(false))
761
using (var safeLogger = await SafeLogger.
WriteStartOperationAsync
(logger, "Resolving project references ...").ConfigureAwait(false))
791
using (var safeLogger = await SafeLogger.
WriteStartOperationAsync
(logger, "Resolving package references ...").ConfigureAwait(false))
869
using (var safeLogger = await SafeLogger.
WriteStartOperationAsync
(logger, $"Resolving assembly references for {this.TargetFramework} target framework ...").ConfigureAwait(false))
994
using (var safeLogger = await SafeLogger.
WriteStartOperationAsync
(logger, $"Resolving deps.json file ...").ConfigureAwait(false))
Shared\ProjectPropertyResolver.cs (4)
27
using (var safeLogger = await SafeLogger.
WriteStartOperationAsync
(logger, $"Resolving {propertyNames.Count()} project properties ...").ConfigureAwait(false))
121
using (var safeLogger = await SafeLogger.
WriteStartOperationAsync
(logger, "Resolving dotnet sdk version ...").ConfigureAwait(false))
141
using (var safeLogger = await SafeLogger.
WriteStartOperationAsync
(logger, "Resolving .NETCore SDK path ...").ConfigureAwait(false))
176
using (var safeLogger = await SafeLogger.
WriteStartOperationAsync
(logger, "Loading MSBuild assemblies ...").ConfigureAwait(false))
Shared\Utilities\PathHelper.cs (2)
211
using (var safeLogger = await SafeLogger.
WriteStartOperationAsync
(logger, $"Copying {fileName} to {destinationDir} ...").ConfigureAwait(false))
243
using (var safeLogger = await SafeLogger.
WriteStartOperationAsync
(logger, $"Looking for '{itemName}' up from '{workingDir}' dir ...").ConfigureAwait(false))
Shared\Utilities\ProcessRunner.cs (1)
66
using (var safeLogger = await SafeLogger.
WriteStartOperationAsync
(logger, $"Executing command [\"{currentDir}\"]{Environment.NewLine}>{processName} {processArgs}").ConfigureAwait(false))
Shared\Utilities\RuntimeEnvironmentHelper.cs (1)
75
using (var safeLogger = await SafeLogger.
WriteStartOperationAsync
(logger, "Adding svcutil NuGet feed to existing nuget.config file ...").ConfigureAwait(false))
Tool.cs (4)
114
using (var safeLogger = await SafeLogger.
WriteStartOperationAsync
(options.Logger, operationMessage).ConfigureAwait(false))
222
using (await SafeLogger.
WriteStartOperationAsync
(options.Logger, "Importing metadata ...").ConfigureAwait(false))
244
using (await SafeLogger.
WriteStartOperationAsync
(options.Logger, "Processing Code DOM ...").ConfigureAwait(false))
304
using (var safeLogger = await SafeLogger.
WriteStartOperationAsync
(logger, "Generating svcutil params file ...").ConfigureAwait(false))