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)
287
using (SafeLogger safeLogger = await SafeLogger.
WriteStartOperationAsync
(this.Logger, "Validating options ...").ConfigureAwait(false))
330
using (SafeLogger logger = await SafeLogger.
WriteStartOperationAsync
(this.Logger, $"Resolving {ProjectFileKey} option ...").ConfigureAwait(false))
378
using (SafeLogger logger = await SafeLogger.
WriteStartOperationAsync
(this.Logger, $"Resolving {OutputDirKey} option ...").ConfigureAwait(false))
415
using (SafeLogger logger = await SafeLogger.
WriteStartOperationAsync
(this.Logger, $"Resolving {OutputFileKey} option ...").ConfigureAwait(false))
465
using (SafeLogger logger = await SafeLogger.
WriteStartOperationAsync
(this.Logger, $"Processing {UpdateServiceReferenceKey} option ...").ConfigureAwait(false))
568
using (SafeLogger logger = await SafeLogger.
WriteStartOperationAsync
(this.Logger, $"Processing {BootstrapPathKey} option ...").ConfigureAwait(false))
615
using (var logger = await SafeLogger.
WriteStartOperationAsync
(this.Logger, $"Processing {nameof(this.References)}, count: {this.References.Count}. Reference resolution enabled: {resolveReferences}").ConfigureAwait(false))
644
using (var logger = await SafeLogger.
WriteStartOperationAsync
(this.Logger, $"Processing {nameof(this.NamespaceMappings)}, count: {this.NamespaceMappings.Count}").ConfigureAwait(false))
682
using (SafeLogger logger = await SafeLogger.
WriteStartOperationAsync
(this.Logger, $"Resolving {TargetFrameworkKey} option ...").ConfigureAwait(false))
715
using (var safeLogger = await SafeLogger.
WriteStartOperationAsync
(this.Logger, $"Processing inputs, count: {this.Inputs.Count} ...").ConfigureAwait(false))
790
using (var logger = await SafeLogger.
WriteStartOperationAsync
(this.Logger, "Processing reference assemblies ...").ConfigureAwait(false))
Shared\MSBuildProj.cs (6)
170
using (var safeLogger = await SafeLogger.
WriteStartOperationAsync
(logger, $"Parsing project {Path.GetFileName(projectFullPath)}").ConfigureAwait(false))
710
using (await SafeLogger.
WriteStartOperationAsync
(logger, $"Saving project file: \"{this.FullPath}\"").ConfigureAwait(false))
778
using (var safeLogger = await SafeLogger.
WriteStartOperationAsync
(logger, "Resolving project references ...").ConfigureAwait(false))
808
using (var safeLogger = await SafeLogger.
WriteStartOperationAsync
(logger, "Resolving package references ...").ConfigureAwait(false))
886
using (var safeLogger = await SafeLogger.
WriteStartOperationAsync
(logger, $"Resolving assembly references for {this.TargetFramework} target framework ...").ConfigureAwait(false))
1011
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))
319
using (var safeLogger = await SafeLogger.
WriteStartOperationAsync
(logger, "Generating svcutil params file ...").ConfigureAwait(false))