1 write to Verbose
Microsoft.DotNet.Cli.Utils (1)
Reporter.cs (1)
106
Verbose
= CommandLoggingContext.IsVerbose ? s_verboseReporter : NullReporter;
112 references to Verbose
dotnet (92)
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\OutputPathCommandResolver.cs (1)
62
Reporter.
Verbose
.WriteLine(
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)
31
Reporter.
Verbose
.WriteLine(string.Format(
54
Reporter.
Verbose
.WriteLine(string.Format(
75
Reporter.
Verbose
.WriteLine(string.Format(
94
Reporter.
Verbose
.WriteLine(string.Format(
107
Reporter.
Verbose
.WriteLine(string.Format(
113
Reporter.
Verbose
.WriteLine(string.Format(
151
Reporter.
Verbose
.WriteLine(string.Format(
162
Reporter.
Verbose
.WriteLine(string.Format(
178
Reporter.
Verbose
.WriteLine(string.Format(
193
Reporter.
Verbose
.WriteLine(string.Format(
290
Reporter.
Verbose
.WriteLine(string.Format(
326
Reporter.
Verbose
.WriteLine(string.Format(
381
Reporter.
Verbose
.WriteLine(string.Format(CliStrings.MSBuildArgs,
422
Reporter.
Verbose
.WriteLine(string.Format(
435
Reporter.
Verbose
.WriteLine(string.Format(
445
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)
149
Reporter.
Verbose
.WriteLine(exception.ToString().Red());
Commands\Clean\FileBasedAppArtifacts\CleanFileBasedAppArtifactsCommand.cs (4)
28
Reporter.
Verbose
.WriteLine($"Would remove folder: {folder.FullName}");
36
Reporter.
Verbose
.WriteLine($"Removed folder: {folder.FullName}");
122
Reporter.
Verbose
.WriteLine("Starting automatic cleanup of file-based app artifacts.");
174
Reporter.
Verbose
.WriteLine($"Cannot access artifacts metadata file '{metadataFile?.FullName}': {ex}");
Commands\Package\Add\PackageAddCommand.cs (2)
222
Reporter.
Verbose
.WriteLine($"Assets file does not exist: {projectAssetsFile}");
285
Reporter.
Verbose
.WriteLine($"Directory.Packages.props file does not exist: {directoryPackagesPropsPath}");
Commands\Run\CSharpCompilerCommand.cs (3)
114
Reporter.
Verbose
.WriteLine($"Copying '{objFile}' to '{BuildResultFile}'.");
135
Reporter.
Verbose
.WriteLine("Compiler server processed compilation.");
341
Reporter.
Verbose
.WriteLine($"Generating CSC auxiliary file because it does not exist: {file}");
Commands\Run\RunCommand.cs (4)
390
Reporter.
Verbose
.WriteLine("Getting target command: from cache.");
399
Reporter.
Verbose
.WriteLine("Getting target command: for csc-built program.");
403
Reporter.
Verbose
.WriteLine("Getting target command: evaluating project.");
785
Reporter.
Verbose
.WriteLine($"Failed to send run telemetry: {ex}");
Commands\Run\VirtualProjectBuildingCommand.cs (33)
451
Reporter.
Verbose
.WriteLine($"Not saving CSC arguments because there is an opt-out via MSBuild property {FileBasedProgramCanSkipMSBuild}.");
459
Reporter.
Verbose
.WriteLine("Not saving CSC arguments because there is a project directive.");
474
Reporter.
Verbose
.WriteLine($"Reusing previous CSC arguments ({cache.CurrentEntry.CscArguments.Length}) because none were found in the {Constants.CoreCompile} target.");
484
Reporter.
Verbose
.WriteLine($"Found CSC arguments ({cache.CurrentEntry.CscArguments.Length}) and build result path: {cache.CurrentEntry.BuildResultFile}");
489
Reporter.
Verbose
.WriteLine($"No CSC arguments found in targets: {string.Join(", ", result.ResultsByTarget.Keys)}");
671
Reporter.
Verbose
.WriteLine("CSC auxiliary files can NOT be reused due to the same reason build is needed.");
677
Reporter.
Verbose
.WriteLine("CSC auxiliary files can NOT be reused because previous build level was not CSC " +
682
Reporter.
Verbose
.WriteLine("CSC auxiliary files can be reused.");
753
Reporter.
Verbose
.WriteLine("Building because cache file does not exist: " + successCacheFile.FullName);
760
Reporter.
Verbose
.WriteLine("Building because start cache file does not exist: " + startCacheFile.FullName);
768
Reporter.
Verbose
.WriteLine("Building because start cache file is newer than success cache file (previous build likely failed): " + startCacheFile.FullName);
778
Reporter.
Verbose
.WriteLine("Building because previous cache entry could not be deserialized: " + successCacheFile.FullName);
790
Reporter.
Verbose
.WriteLine($"""
799
Reporter.
Verbose
.WriteLine($"""
809
Reporter.
Verbose
.WriteLine($"""
820
Reporter.
Verbose
.WriteLine($"""
832
Reporter.
Verbose
.WriteLine("Building because entry point file is missing: " + entryPointFile.FullName);
840
Reporter.
Verbose
.WriteLine("Compiling because entry point file is modified: " + entryPointFile.FullName);
850
Reporter.
Verbose
.WriteLine("Building because implicit build file is missing or modified: " + implicitBuildFileInfo.FullName);
860
Reporter.
Verbose
.WriteLine("Building because new implicit build file is present: " + implicitBuildFilePath);
877
Reporter.
Verbose
.WriteLine($"Failed to deserialize cache entry ({path}): {e.GetType().FullName}: {e.Message}");
900
Reporter.
Verbose
.WriteLine("No need to build, the output is up to date.");
909
Reporter.
Verbose
.WriteLine("No CSC arguments from previous run.");
913
Reporter.
Verbose
.WriteLine("We have CSC arguments but not run properties. That's unexpected.");
917
Reporter.
Verbose
.WriteLine("We have CSC arguments but not build result file. That's unexpected.");
921
Reporter.
Verbose
.WriteLine("Cannot use CSC arguments from previous run because directives changed.");
925
Reporter.
Verbose
.WriteLine("We have CSC arguments from previous run. Skipping MSBuild and using CSC only.");
941
Reporter.
Verbose
.WriteLine("Using MSBuild because there are directives in the source file.");
949
Reporter.
Verbose
.WriteLine($"Using MSBuild because there are global properties, for example '{exampleKey}={exampleValue}'.");
956
Reporter.
Verbose
.WriteLine($"Using MSBuild because there are implicit build files, for example '{exampleMSBuildFile}'.");
964
Reporter.
Verbose
.WriteLine($"Using MSBuild because NuGet package file does not exist: {filePath}");
969
Reporter.
Verbose
.WriteLine("Skipping MSBuild and using CSC only.");
1008
Reporter.
Verbose
.WriteLine($"Cannot touch folder '{directory}': {ex}");
Commands\Workload\Clean\WorkloadCleanCommand.cs (1)
117
Utils.Reporter.
Verbose
.WriteLine(ex.Message);
Commands\Workload\Install\FileBasedInstaller.cs (1)
401
Reporter.
Verbose
);
NugetPackageDownloader\NuGetConsoleLogger.cs (2)
57
Reporter.
Verbose
.WriteLine($"[NuGet Manager] [DEBUG] {data}");
82
Reporter.
Verbose
.WriteLine($"[NuGet Manager] [Verbose] {data}");
Program.cs (1)
377
Reporter.
Verbose
.WriteLine(
TransactionalAction.cs (2)
89
Reporter.
Verbose
.WriteLine(string.Format("TransactionAbortedException Message: {0}", ex.Message));
90
Reporter.
Verbose
.WriteLine(
Microsoft.DotNet.Cli.Utils (6)
Command.cs (5)
32
Reporter.
Verbose
.WriteLine(string.Format(
48
Reporter.
Verbose
.WriteLine($"> {Command.FormatProcessInfo(_process.StartInfo)}".White());
57
Reporter.
Verbose
.WriteLine(string.Format(
81
Reporter.
Verbose
.WriteLine(message.Green());
85
Reporter.
Verbose
.WriteLine(message.Red().Bold());
Extensions\ExceptionExtensions.cs (1)
17
Reporter.
Verbose
.WriteLine($"Warning: Ignoring exception: {e.ToString().Yellow()}");
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)
232
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)
596
Reporter.
Verbose
.WriteLine(LocalizableStrings.TemplatePackageCoordinator_Verbose_NuGetCredentialServiceError, ex.ToString());
1131
Reporter.
Verbose
.WriteLine($"Custom source {source} is already loaded from default configuration.");
TemplateSearch\CliHostSearchCacheData.cs (2)
38
Reporter.
Verbose
.WriteLine($"Error deserializing the cli host specific template data for template {data.Name}, details:{ex}");
45
Reporter.
Verbose
.WriteLine($"Error deserializing the cli host specific template data {cacheObject}, details:{ex}");