107 references to Bold
dotnet (32)
Commands\Run\RunCommand.cs (4)
236
Reporter.Error.WriteLine(string.Format(CliCommandStrings.RunCommandExceptionCouldNotApplyLaunchSettings, profileName, applyResult.FailureReason).
Bold
().Red());
245
Reporter.Error.WriteLine(string.Format(CliCommandStrings.RunCommandExceptionCouldNotApplyLaunchSettings, profileName).
Bold
().Red());
246
Reporter.Error.WriteLine(ex.Message.
Bold
().Red());
297
""").
Bold
().Red());
Commands\Run\VirtualProjectBuildingCommand.cs (2)
382
e.ToString().Red().
Bold
() :
383
e.Message.Red().
Bold
());
Commands\Test\MTP\MSBuildHandler.cs (1)
115
string.Join(Environment.NewLine, vsTestTestProjects.Select(module => Path.GetFileName(module.ProjectFullPath))).Red().
Bold
()));
Commands\Test\MTP\SolutionAndProjectUtility.cs (1)
404
Reporter.Error.WriteLine(string.Format(CliCommandStrings.RunCommandExceptionCouldNotApplyLaunchSettings, profileName, result.FailureReason).
Bold
().Red());
Commands\Tool\Execute\ToolExecuteCommand.cs (2)
103
Reporter.Error.WriteLine(CliCommandStrings.ToolDownloadCanceled.Red().
Bold
());
108
Reporter.Error.WriteLine(CliCommandStrings.ToolDownloadNeedsConfirmation.Red().
Bold
());
Commands\Tool\Search\SearchResultPrinter.cs (10)
48
_reporter.WriteLine("----------------".
Bold
());
50
_reporter.WriteLine($"{CliCommandStrings.LatestVersion}: ".
Bold
() + p.LatestVersion);
53
_reporter.WriteLine($"{CliCommandStrings.Authors}: ".
Bold
() + string.Join(", ", p.Authors));
58
_reporter.WriteLine($"{CliCommandStrings.Tags}: ".
Bold
() + string.Join(", ", p.Tags));
61
_reporter.WriteLine($"{CliCommandStrings.Downloads}: ".
Bold
() + p.TotalDownloads);
64
_reporter.WriteLine($"{CliCommandStrings.Verified}: ".
Bold
() + p.Verified.ToString());
68
_reporter.WriteLine($"{CliCommandStrings.Summary}: ".
Bold
() + p.Summary);
73
_reporter.WriteLine($"{CliCommandStrings.Description}: ".
Bold
() + p.Description);
78
_reporter.WriteLine($"{CliCommandStrings.Versions}: ".
Bold
());
82
$"\t{version.Version}" + $" {CliCommandStrings.Downloads}: ".
Bold
() + version.Downloads);
Parser.cs (9)
270
exception.ToString().Red().
Bold
() :
271
exception.Message.Red().
Bold
());
276
exception.ToString().Red().
Bold
() :
277
exception.Message.Red().
Bold
());
283
exception.ToString().Red().
Bold
() :
284
exception.Message.Red().
Bold
());
288
Reporter.Error.Write("Unhandled exception: ".Red().
Bold
());
290
exception.ToString().Red().
Bold
() :
291
exception.Message.Red().
Bold
());
Program.cs (3)
86
? e.ToString().Red().
Bold
()
87
: e.Message.Red().
Bold
());
101
Reporter.Error.WriteLine(e.ToString().Red().
Bold
());
Microsoft.DotNet.Cli.Utils (1)
Command.cs (1)
85
Reporter.Verbose.WriteLine(message.Red().
Bold
());
Microsoft.TemplateEngine.Cli (74)
Commands\BaseCommand.cs (3)
257
Reporter.Error.WriteLine(ex.Message.
Bold
().Red());
270
Reporter.Error.WriteLine(ex.Message.
Bold
().Red());
275
Reporter.Error.WriteLine(ex.StackTrace.
Bold
().Red());
Commands\create\InstantiateCommand.cs (8)
125
string.Format(LocalizableStrings.InstantiateCommand_Info_NoMatchingTemplatesSubCommands, instantiateArgs.ShortName).
Bold
().Red());
143
reporter.WriteLine(LocalizableStrings.AmbiguousTemplatesHeader.
Bold
().Red());
157
reporter.WriteLine(formatter.Layout().
Bold
().Red());
158
reporter.WriteLine(LocalizableStrings.AmbiguousTemplatesMultiplePackagesHint.
Bold
().Red());
325
reporter.WriteLine(LocalizableStrings.AmbiguousTemplatesHeader.
Bold
().Red());
341
reporter.WriteLine(formatter.Layout().
Bold
().Red());
343
reporter.WriteLine(LocalizableStrings.AmbiguousTemplatesMultiplePackagesHint.
Bold
().Red());
349
reporter.WriteLine(string.Format(LocalizableStrings.AmbiguousTemplatesSamePackageHint, templatePackage).
Bold
().Red());
Commands\create\InstantiateCommand.NoMatchHandling.cs (3)
141
reporter.WriteLine(InvalidOptionsListToString(invalidOptionsList, matchInfos).
Bold
().Red());
146
reporter.WriteLine(string.Format(LocalizableStrings.Generic_Info_NoMatchingTemplates, string.Join(" ", tokens)).
Bold
().Red());
196
Reporter.Error.WriteLine(string.Format(LocalizableStrings.Generic_Info_NoMatchingTemplates, baseInputParameters).
Bold
().Red());
PostActionDispatcher.cs (2)
189
Reporter.Output.WriteLine(string.Format(LocalizableStrings.PostActionCommand, $"{executable} {commandArgs}").
Bold
().Red());
256
stream.WriteLine(string.Format(LocalizableStrings.PostActionCommand, $"{executable} {commandArgs}").
Bold
().Red());
PostActionProcessors\InstructionDisplayPostActionProcessor.cs (1)
24
Reporter.Output.WriteLine(string.Format(LocalizableStrings.PostActionCommand, $"{executable} {commandArgs}").
Bold
().Red());
TemplateInvoker.cs (17)
67
Reporter.Error.WriteLine(cx.Message.
Bold
().Red());
70
Reporter.Error.WriteLine(cx.InnerException.Message.
Bold
().Red());
78
Reporter.Error.WriteLine(ex.Message.
Bold
().Red());
137
Reporter.Error.WriteLine(string.Format(LocalizableStrings.InvalidNameParameter, printableChars, nonPrintableChars).
Bold
().Red());
179
Reporter.Error.WriteLine(cx.Message.
Bold
().Red());
182
Reporter.Error.WriteLine(cx.InnerException.Message.
Bold
().Red());
189
Reporter.Error.WriteLine(tae.Message.
Bold
().Red());
222
Reporter.Error.WriteLine(string.Format(LocalizableStrings.CreateFailed, resultTemplateName, instantiateResult.ErrorMessage).
Bold
().Red());
233
Reporter.Error.WriteLine(string.Format(LocalizableStrings.MissingRequiredParameter, fixedMessage, resultTemplateName).
Bold
().Red());
237
Reporter.Error.WriteLine(LocalizableStrings.TemplateCreator_Error_TemplateNotFound.
Bold
().Red());
266
Reporter.Error.WriteLine($"{LocalizableStrings.InvalidCommandOptions}: {instantiateResult.ErrorMessage}".
Bold
().Red());
275
Reporter.Error.WriteLine(LocalizableStrings.DestructiveChangesNotification.
Bold
().Red());
284
Reporter.Error.WriteLine(($" {GetChangeString(change.ChangeKind)}".PadRight(padLen) + AdjustReportedPath(change.TargetRelativePath)).
Bold
().Red());
290
LocalizableStrings.RerunCommandAndPassForceToCreateAnyway, SharedOptions.ForceOption.Name).
Bold
().Red()
297
Reporter.Error.WriteLine(instantiateResult.ErrorMessage.
Bold
().Red());
301
Reporter.Error.WriteLine(LocalizableStrings.OperationCancelled.
Bold
().Red());
304
Reporter.Error.WriteLine(string.Format(LocalizableStrings.UnexpectedResult, Enum.GetName(typeof(CreationResultStatus), instantiateResult.Status), instantiateResult.ErrorMessage).
Bold
().Red());
TemplateListCoordinator.cs (3)
91
.
Bold
().Red());
101
.
Bold
().Red());
113
.
Bold
().Red());
TemplatePackageCoordinator.cs (14)
473
LocalizableStrings.Generic_Info_NoMatchingTemplatePackage.
Bold
().Red(),
721
notFoundPackage).
Bold
().Red());
981
result.ErrorMessage).
Bold
().Red());
987
packageToInstall).
Bold
().Red());
993
packageToInstall).
Bold
().Red());
999
packageToInstall).
Bold
().Red());
1005
packageToInstall).
Bold
().Red());
1014
packageToInstall).
Bold
().Red());
1020
packageToInstall).
Bold
().Red());
1027
packageToInstall).
Bold
().Red());
1064
result.TemplatePackage.DisplayName).
Bold
().Red());
1072
result.TemplatePackage.DisplayName).
Bold
().Red());
1079
result.TemplatePackage.DisplayName).
Bold
().Red());
1087
result.ErrorMessage).
Bold
().Red());
TemplatePackageDisplay.cs (18)
134
result.ErrorMessage).
Bold
().Red());
140
packageToInstall).
Bold
().Red());
146
packageToInstall).
Bold
().Red());
152
packageToInstall).
Bold
().Red());
158
packageToInstall).
Bold
().Red());
167
packageToInstall).
Bold
().Red());
173
packageToInstall).
Bold
().Red());
183
packageToInstall).
Bold
().Red());
188
SharedOptions.ForceOption.Name).
Bold
());
195
packageToInstall).
Bold
().Red());
200
SharedOptions.ForceOption.Name).
Bold
());
215
packageToInstall).
Bold
().Red());
342
result.TemplatePackage.DisplayName).
Bold
().Red());
350
result.TemplatePackage.DisplayName).
Bold
().Red());
357
result.TemplatePackage.DisplayName).
Bold
().Red());
364
result.TemplatePackage.Identifier).
Bold
().Red());
374
result.ErrorMessage).
Bold
().Red());
384
reporter.WriteLine($"{string.Empty.PadLeft(4)}{_vulnerabilitySeverityToColorMap[entry.Severity].
Bold
()}:");
TemplateSearch\CliTemplateSearchCoordinator.cs (5)
59
Reporter.Error.WriteLine(LocalizableStrings.CliTemplateSearchCoordinator_Error_NoSources.
Bold
().Red());
68
Reporter.Error.WriteLine(string.Format(LocalizableStrings.CliTemplateSearchCoordinator_Error_SearchFailure, result.ErrorMessage).Red().
Bold
());
86
.
Bold
().Red());
255
Reporter.Error.WriteLine(LocalizableStrings.CliTemplateSearchCoordinator_Error_NoTemplateName.Red().
Bold
());
282
Reporter.Error.WriteLine(LocalizableStrings.CliTemplateSearchCoordinator_Error_TemplateNameIsTooShort.
Bold
().Red());