1 write to Verbose
Microsoft.DotNet.Cli.Utils (1)
Reporter.cs (1)
106
Verbose
= CommandLoggingContext.IsVerbose
164 references to Verbose
dotnet (103)
BuildServer\VBCSCompilerServer.cs (3)
39
Reporter.
Verbose
.WriteLine($"Shutting down '{s_toolsetPackageName}' compilers.");
42
Reporter.
Verbose
.WriteLine($"Enumerating '{toolsetPackageDirectory}'.");
48
Reporter.
Verbose
.WriteLine($"Found '{vbcsCompilerPath}'.");
CliCompletion.cs (1)
30
Reporter.
Verbose
.WriteLine($"Exception occurred while getting completions: {e}");
CommandFactory\CommandResolution\PackagedCommandSpecFactory.cs (3)
32
Reporter.
Verbose
.WriteLine(string.Format(
43
Reporter.
Verbose
.WriteLine(string.Format(
55
Reporter.
Verbose
.WriteLine(string.Format(
CommandFactory\CommandResolution\PackagedCommandSpecFactoryWithCliRuntime.cs (2)
38
Reporter.
Verbose
.WriteLine(
71
Reporter.
Verbose
.WriteLine(
CommandFactory\CommandResolution\ProjectDependenciesCommandResolver.cs (6)
40
Reporter.
Verbose
.WriteLine(string.Format(
50
Reporter.
Verbose
.WriteLine(string.Format(
88
Reporter.
Verbose
.WriteLine(string.Format(
99
Reporter.
Verbose
.WriteLine(string.Format(
110
Reporter.
Verbose
.WriteLine(string.Format(
150
Reporter.
Verbose
.WriteLine(string.Format(
CommandFactory\CommandResolution\ProjectFactory.cs (3)
37
Reporter.
Verbose
.WriteLine(string.Format(
44
Reporter.
Verbose
.WriteLine(string.Format(
60
Reporter.
Verbose
.WriteLine(ex.ToString().Red());
CommandFactory\CommandResolution\ProjectToolsCommandResolver.cs (16)
32
Reporter.
Verbose
.WriteLine(string.Format(
55
Reporter.
Verbose
.WriteLine(string.Format(
76
Reporter.
Verbose
.WriteLine(string.Format(
95
Reporter.
Verbose
.WriteLine(string.Format(
108
Reporter.
Verbose
.WriteLine(string.Format(
114
Reporter.
Verbose
.WriteLine(string.Format(
152
Reporter.
Verbose
.WriteLine(string.Format(
163
Reporter.
Verbose
.WriteLine(string.Format(
179
Reporter.
Verbose
.WriteLine(string.Format(
194
Reporter.
Verbose
.WriteLine(string.Format(
291
Reporter.
Verbose
.WriteLine(string.Format(
327
Reporter.
Verbose
.WriteLine(string.Format(
382
Reporter.
Verbose
.WriteLine(string.Format(CliStrings.MSBuildArgs,
430
Reporter.
Verbose
.WriteLine(string.Format(
443
Reporter.
Verbose
.WriteLine(string.Format(
453
Reporter.
Verbose
.WriteLine(string.Format(
CommandFactory\CommandResolution\PublishedPathCommandResolver.cs (3)
41
Reporter.
Verbose
.WriteLine(string.Format(
51
Reporter.
Verbose
.WriteLine(string.Format(
69
Reporter.
Verbose
.WriteLine(string.Format(
Commands\BuildServer\Shutdown\BuildServerShutdownCommand.cs (1)
145
Reporter.
Verbose
.WriteLine(exception.ToString().Red());
Commands\Clean\FileBasedAppArtifacts\CleanFileBasedAppArtifactsCommand.cs (4)
29
Reporter.
Verbose
.WriteLine($"Would remove folder: {folder.FullName}");
37
Reporter.
Verbose
.WriteLine($"Removed folder: {folder.FullName}");
123
Reporter.
Verbose
.WriteLine("Starting automatic cleanup of file-based app artifacts.");
172
Reporter.
Verbose
.WriteLine($"Cannot access artifacts metadata file '{metadataFile?.FullName}': {ex}");
Commands\Run\CSharpCompilerCommand.cs (6)
129
Reporter.
Verbose
.WriteLine($"Skipping copy of '{objFile}' to '{BuildResultFile}' because the files have matching size and timestamp.");
133
Reporter.
Verbose
.WriteLine($"Copying '{objFile}' to '{BuildResultFile}'.");
155
Reporter.
Verbose
.WriteLine("Compiler server processed compilation.");
161
Reporter.
Verbose
.WriteLine("CS0006 error detected in fast compilation path, falling back to full MSBuild.");
162
Reporter.
Verbose
.Write(completed.Output);
297
Reporter.
Verbose
.WriteLine($"Generating CSC auxiliary file because it does not exist: {file}");
Commands\Run\EnvironmentVariablesToMSBuild.cs (1)
134
Reporter.
Verbose
.WriteLine($"Failed to delete temporary props file '{propsFilePath}': {ex.Message}");
Commands\Run\FileBasedAppCacheInfo.cs (3)
59
Reporter.
Verbose
.WriteLine("CSC auxiliary files can NOT be reused due to the same reason build is needed.");
65
Reporter.
Verbose
.WriteLine("CSC auxiliary files can NOT be reused because previous build level was not CSC " +
70
Reporter.
Verbose
.WriteLine("CSC auxiliary files can be reused.");
Commands\Run\FileBasedAppRunPlan.cs (30)
96
Reporter.
Verbose
.WriteLine("Falling back to the managed CLI because the build success cache does not exist.");
109
Reporter.
Verbose
.WriteLine("Falling back to the managed CLI because the previous build was not synthetic CSC.");
115
Reporter.
Verbose
.WriteLine("Falling back to the managed CLI because the entry point file is missing.");
206
Reporter.
Verbose
.WriteLine("Building because --no-cache was specified.");
213
Reporter.
Verbose
.WriteLine("No need to build, the output is up to date. Cache: " + inputs.ArtifactsPath);
224
Reporter.
Verbose
.WriteLine("We have CSC arguments from previous run. Skipping MSBuild and using CSC only.");
238
Reporter.
Verbose
.WriteLine("Using MSBuild because there are directives in the source file.");
246
Reporter.
Verbose
.WriteLine($"Using MSBuild because there are global properties, for example '{exampleKey}={exampleValue}'.");
253
Reporter.
Verbose
.WriteLine($"Using MSBuild because there are implicit build files, for example '{exampleMSBuildFile}'.");
261
Reporter.
Verbose
.WriteLine($"Using MSBuild because NuGet package file does not exist: {filePath}");
266
Reporter.
Verbose
.WriteLine("Skipping MSBuild and using CSC only.");
300
Reporter.
Verbose
.WriteLine($"Failed to deserialize cache entry ({path}): {exception.GetType().FullName}: {exception.Message}");
365
Reporter.
Verbose
.WriteLine($"Cannot touch folder '{artifactsPath}': {exception}");
380
Reporter.
Verbose
.WriteLine("Skipping computing cache because there are project or ref directives.");
417
Reporter.
Verbose
.WriteLine("Building because cache file does not exist: " + successCacheFile.FullName);
424
Reporter.
Verbose
.WriteLine("Building because start cache file does not exist: " + startCacheFile.FullName);
431
Reporter.
Verbose
.WriteLine("Building because start cache file is newer than success cache file (previous build likely failed): " + startCacheFile.FullName);
441
Reporter.
Verbose
.WriteLine("Building because previous cache entry could not be deserialized: " + successCacheFile.FullName);
451
Reporter.
Verbose
.WriteLine("Building because the run output is missing: " + previousRunCommand);
459
Reporter.
Verbose
.WriteLine($"Building because previous SDK version ({previousCacheEntry.SdkVersion}) does not match current ({cacheEntry.SdkVersion}): {successCacheFile.FullName}");
466
Reporter.
Verbose
.WriteLine($"Building because previous runtime version ({previousCacheEntry.RuntimeVersion}) does not match current ({cacheEntry.RuntimeVersion}): {successCacheFile.FullName}");
473
Reporter.
Verbose
.WriteLine($"Building because previous global properties count ({previousCacheEntry.GlobalProperties.Count}) does not match current count ({cacheEntry.GlobalProperties.Count}): {successCacheFile.FullName}");
481
Reporter.
Verbose
.WriteLine($"Building because previous global property \"{key}\" ({otherValue}) does not match current ({value}): {successCacheFile.FullName}");
490
Reporter.
Verbose
.WriteLine("Building because entry point file is missing: " + entryPointFile.FullName);
500
Reporter.
Verbose
.WriteLine("Compiling because entry point file is modified: " + targetFile.FullName);
501
Reporter.
Verbose
.WriteLine(reasonToNotReuseCscArguments);
511
Reporter.
Verbose
.WriteLine("Building because implicit build file is missing or modified: " + implicitBuildFileInfo.FullName);
521
Reporter.
Verbose
.WriteLine("Building because new implicit build file is present: " + implicitBuildFilePath);
535
Reporter.
Verbose
.WriteLine("Building because additional source file is missing or modified: " + additionalSourceFileInfo.FullName);
544
Reporter.
Verbose
.WriteLine("Compiling because entry point file is modified: " + targetFile.FullName);
Commands\Run\RunCommand.cs (5)
197
Reporter.
Verbose
.WriteLine("Checking changes for run properties");
528
Reporter.
Verbose
.WriteLine($"Getting target command: from {(runPropertiesFromEvaluation ? "previous evaluation" : "cache")}.");
536
Reporter.
Verbose
.WriteLine("Getting target command: for csc-built program.");
541
Reporter.
Verbose
.WriteLine("Getting target command: evaluating project.");
1033
Reporter.
Verbose
.WriteLine($"Failed to send run telemetry: {ex}");
Commands\Run\VirtualProjectBuildingCommand.cs (8)
397
Reporter.
Verbose
.WriteLine($"Reusing previous CSC arguments ({cache.CurrentEntry.CscArguments.Length}) because none were found in the {Constants.CoreCompile} target.");
407
Reporter.
Verbose
.WriteLine($"Found CSC arguments ({cache.CurrentEntry.CscArguments.Length}) and build result path: {cache.CurrentEntry.BuildResultFile}");
412
Reporter.
Verbose
.WriteLine($"No CSC arguments found in targets: {string.Join(", ", result.ResultsByTarget.Keys)}");
449
Reporter.
Verbose
.WriteLine($"Wrote '{rspPath}'.");
456
Reporter.
Verbose
.WriteLine($"Not saving cache because there is an opt-out via MSBuild property {FileBasedProgramCanSkipMSBuild}.");
462
Reporter.
Verbose
.WriteLine("Not saving cache because there is a project directive.");
468
Reporter.
Verbose
.WriteLine("Not saving cache because there is a ref directive.");
476
Reporter.
Verbose
.WriteLine("Not saving cache because there is a glob include directive.");
Commands\Workload\Install\FileBasedInstaller.cs (1)
406
Reporter.
Verbose
);
MSBuildSession.cs (1)
176
Reporter.
Verbose
.WriteLine($"Failed to end the MSBuild session: {ex}");
NugetPackageDownloader\NuGetConsoleLogger.cs (2)
57
Reporter.
Verbose
.WriteLine($"[NuGet Manager] [DEBUG] {data}");
82
Reporter.
Verbose
.WriteLine($"[NuGet Manager] [Verbose] {data}");
ParserOptionActions.cs (1)
63
Reporter.
Verbose
.WriteLine(string.Format(LocalizableStrings.DotnetCliHomeUsed, home, CliFolderPathCalculator.DotnetHomeVariableName));
Program.cs (1)
59
Reporter.
Verbose
.WriteLine($"Telemetry is: {(TelemetryInstance.Enabled ? "Enabled" : "Disabled")}");
TransactionalAction.cs (2)
88
Reporter.
Verbose
.WriteLine(string.Format("TransactionAbortedException Message: {0}", ex.Message));
89
Reporter.
Verbose
.WriteLine(
dotnet-aot (42)
src\sdk\src\Cli\dotnet\CliCompletion.cs (1)
30
Reporter.
Verbose
.WriteLine($"Exception occurred while getting completions: {e}");
src\sdk\src\Cli\dotnet\CommandFactory\CommandResolution\PublishedPathCommandResolver.cs (3)
41
Reporter.
Verbose
.WriteLine(string.Format(
51
Reporter.
Verbose
.WriteLine(string.Format(
69
Reporter.
Verbose
.WriteLine(string.Format(
src\sdk\src\Cli\dotnet\Commands\Run\AotRunCommand.cs (3)
181
Reporter.
Verbose
.WriteLine($"AOT run tier: {runTier} ({decisionReason}).");
274
Reporter.
Verbose
.WriteLine($"Failed to read the runtime version: {exception}");
403
Reporter.
Verbose
.WriteLine($"AOT run is falling back to the managed CLI because {reason}.");
src\sdk\src\Cli\dotnet\Commands\Run\FileBasedAppCacheInfo.cs (3)
59
Reporter.
Verbose
.WriteLine("CSC auxiliary files can NOT be reused due to the same reason build is needed.");
65
Reporter.
Verbose
.WriteLine("CSC auxiliary files can NOT be reused because previous build level was not CSC " +
70
Reporter.
Verbose
.WriteLine("CSC auxiliary files can be reused.");
src\sdk\src\Cli\dotnet\Commands\Run\FileBasedAppRunPlan.cs (30)
96
Reporter.
Verbose
.WriteLine("Falling back to the managed CLI because the build success cache does not exist.");
109
Reporter.
Verbose
.WriteLine("Falling back to the managed CLI because the previous build was not synthetic CSC.");
115
Reporter.
Verbose
.WriteLine("Falling back to the managed CLI because the entry point file is missing.");
206
Reporter.
Verbose
.WriteLine("Building because --no-cache was specified.");
213
Reporter.
Verbose
.WriteLine("No need to build, the output is up to date. Cache: " + inputs.ArtifactsPath);
224
Reporter.
Verbose
.WriteLine("We have CSC arguments from previous run. Skipping MSBuild and using CSC only.");
238
Reporter.
Verbose
.WriteLine("Using MSBuild because there are directives in the source file.");
246
Reporter.
Verbose
.WriteLine($"Using MSBuild because there are global properties, for example '{exampleKey}={exampleValue}'.");
253
Reporter.
Verbose
.WriteLine($"Using MSBuild because there are implicit build files, for example '{exampleMSBuildFile}'.");
261
Reporter.
Verbose
.WriteLine($"Using MSBuild because NuGet package file does not exist: {filePath}");
266
Reporter.
Verbose
.WriteLine("Skipping MSBuild and using CSC only.");
300
Reporter.
Verbose
.WriteLine($"Failed to deserialize cache entry ({path}): {exception.GetType().FullName}: {exception.Message}");
365
Reporter.
Verbose
.WriteLine($"Cannot touch folder '{artifactsPath}': {exception}");
380
Reporter.
Verbose
.WriteLine("Skipping computing cache because there are project or ref directives.");
417
Reporter.
Verbose
.WriteLine("Building because cache file does not exist: " + successCacheFile.FullName);
424
Reporter.
Verbose
.WriteLine("Building because start cache file does not exist: " + startCacheFile.FullName);
431
Reporter.
Verbose
.WriteLine("Building because start cache file is newer than success cache file (previous build likely failed): " + startCacheFile.FullName);
441
Reporter.
Verbose
.WriteLine("Building because previous cache entry could not be deserialized: " + successCacheFile.FullName);
451
Reporter.
Verbose
.WriteLine("Building because the run output is missing: " + previousRunCommand);
459
Reporter.
Verbose
.WriteLine($"Building because previous SDK version ({previousCacheEntry.SdkVersion}) does not match current ({cacheEntry.SdkVersion}): {successCacheFile.FullName}");
466
Reporter.
Verbose
.WriteLine($"Building because previous runtime version ({previousCacheEntry.RuntimeVersion}) does not match current ({cacheEntry.RuntimeVersion}): {successCacheFile.FullName}");
473
Reporter.
Verbose
.WriteLine($"Building because previous global properties count ({previousCacheEntry.GlobalProperties.Count}) does not match current count ({cacheEntry.GlobalProperties.Count}): {successCacheFile.FullName}");
481
Reporter.
Verbose
.WriteLine($"Building because previous global property \"{key}\" ({otherValue}) does not match current ({value}): {successCacheFile.FullName}");
490
Reporter.
Verbose
.WriteLine("Building because entry point file is missing: " + entryPointFile.FullName);
500
Reporter.
Verbose
.WriteLine("Compiling because entry point file is modified: " + targetFile.FullName);
501
Reporter.
Verbose
.WriteLine(reasonToNotReuseCscArguments);
511
Reporter.
Verbose
.WriteLine("Building because implicit build file is missing or modified: " + implicitBuildFileInfo.FullName);
521
Reporter.
Verbose
.WriteLine("Building because new implicit build file is present: " + implicitBuildFilePath);
535
Reporter.
Verbose
.WriteLine("Building because additional source file is missing or modified: " + additionalSourceFileInfo.FullName);
544
Reporter.
Verbose
.WriteLine("Compiling because entry point file is modified: " + targetFile.FullName);
src\sdk\src\Cli\dotnet\NugetPackageDownloader\NuGetConsoleLogger.cs (2)
57
Reporter.
Verbose
.WriteLine($"[NuGet Manager] [DEBUG] {data}");
82
Reporter.
Verbose
.WriteLine($"[NuGet Manager] [Verbose] {data}");
Microsoft.DotNet.Cli.Utils (5)
Command.cs (5)
30
Reporter.
Verbose
.WriteLine(string.Format(
46
Reporter.
Verbose
.WriteLine($"> {Command.FormatProcessInfo(_process.StartInfo)}".White());
55
Reporter.
Verbose
.WriteLine(string.Format(
79
Reporter.
Verbose
.WriteLine(message.Green());
83
Reporter.
Verbose
.WriteLine(message.Red().Bold());
Microsoft.TemplateEngine.Cli (14)
Commands\AliasAssignmentCoordinator.cs (1)
161
Reporter.
Verbose
.WriteLine(string.Format(LocalizableStrings.AliasAssignmentCoordinator_Error_ShortAlias, parameter.Name, shortName, qualifiedShortName));
Commands\CliPathInfo.cs (1)
47
Reporter.
Verbose
.WriteLine($"Global Settings Location: {definedSettingsLocation}");
NuGet\CliNuGetLogger.cs (2)
43
Reporter.
Verbose
.WriteLine($"[NuGet Manager] [DEBUG] {data}");
68
Reporter.
Verbose
.WriteLine($"[NuGet Manager] [Verbose] {data}");
PostActionDispatcher.cs (1)
234
Reporter.
Verbose
.WriteLine(LocalizableStrings.Generic_Details, e.ToString());
PostActionProcessors\AddJsonPropertyPostActionProcessor.cs (1)
259
Reporter.
Verbose
.WriteLine(string.Format(LocalizableStrings.PostAction_ModifyJson_Verbose_AttemptingToFindJsonFile, matchPattern, directory));
PostActionProcessors\ChmodPostActionProcessor.cs (2)
56
Reporter.
Verbose
.WriteLine("Unable to start sub-process.");
72
Reporter.
Verbose
.WriteLine(LocalizableStrings.Generic_Details, ex.ToString());
PostActionProcessors\ProcessStartPostActionProcessor.cs (2)
67
Reporter.
Verbose
.WriteLine("Unable to start sub-process.");
91
Reporter.
Verbose
.WriteLine(LocalizableStrings.Generic_Details, ex.ToString());
TemplatePackageCoordinator.cs (2)
597
Reporter.
Verbose
.WriteLine(LocalizableStrings.TemplatePackageCoordinator_Verbose_NuGetCredentialServiceError, ex.ToString());
894
Reporter.
Verbose
.WriteLine($"Custom source {source} is already loaded from default configuration.");
TemplateSearch\CliHostSearchCacheData.cs (2)
44
Reporter.
Verbose
.WriteLine($"Error deserializing the cli host specific template data for template {data.Key}, details:{ex}");
51
Reporter.
Verbose
.WriteLine($"Error deserializing the cli host specific template data {cacheObject}, details:{ex}");