1 write to Error
Microsoft.DotNet.Cli.Utils (1)
Reporter.cs (1)
101
Error
= CommandLoggingContext.ErrorEnabled ? s_errorReporter : NullReporter;
206 references to Error
dotnet (90)
BuildServer\BuildServerProvider.cs (1)
21
private readonly IReporter _reporter = reporter ?? Reporter.
Error
;
Commands\Clean\FileBasedAppArtifacts\CleanFileBasedAppArtifactsCommand.cs (2)
42
Reporter.
Error
.WriteLine(string.Format(CliCommandStrings.CleanFileBasedAppArtifactsErrorRemovingFolder, folder, ex.Message).Red());
68
Reporter.
Error
.WriteLine(string.Format(CliCommandStrings.CleanFileBasedAppArtifactsDirectoryNotFound, directory.FullName).Yellow());
Commands\DotNetCommandFactory.cs (2)
84
Reporter.
Error
.WriteLine(
91
Reporter.
Error
.WriteLine(
Commands\Help\HelpCommand.cs (1)
97
Reporter.
Error
.WriteLine(
Commands\New\PostActions\DotnetAddPostActionProcessor.cs (13)
48
Reporter.
Error
.WriteLine(CliCommandStrings.PostAction_AddReference_Error_ActionMisconfigured);
58
Reporter.
Error
.WriteLine(CliCommandStrings.PostAction_AddReference_Error_UnresolvedProjFile);
59
Reporter.
Error
.WriteLine(CliCommandStrings.PostAction_AddReference_Error_ProjFileListHeader);
62
Reporter.
Error
.WriteLine(string.Format("\t{0}", projectFile));
76
Reporter.
Error
.WriteLine(CliCommandStrings.PostAction_AddReference_Error_UnresolvedProjFile);
118
Reporter.
Error
.WriteLine(CliCommandStrings.PostAction_AddReference_Error_ActionMisconfigured);
124
Reporter.
Error
.WriteLine(CliCommandStrings.PostAction_AddReference_Error_ActionMisconfigured);
144
Reporter.
Error
.WriteLine(string.Format(CliCommandStrings.PostAction_AddReference_Error_FrameworkNotSupported, referenceToAdd));
149
Reporter.
Error
.WriteLine(string.Format(CliCommandStrings.PostAction_AddReference_Error_UnsupportedRefType, referenceType));
173
Reporter.
Error
.WriteLine(CliCommandStrings.PostAction_AddReference_Failed);
179
Reporter.
Error
.WriteLine(string.Format(CliCommandStrings.PostAction_AddReference_AddPackageReference_Failed, e.Message));
196
Reporter.
Error
.WriteLine(CliCommandStrings.PostAction_AddReference_Failed);
202
Reporter.
Error
.WriteLine(string.Format(CliCommandStrings.PostAction_AddReference_AddProjectReference_Failed, e.Message));
Commands\New\PostActions\DotnetRestorePostActionProcessor.cs (3)
36
Reporter.
Error
.WriteLine(string.Format(CliCommandStrings.PostAction_Restore_Error_FailedToDetermineProjectToRestore));
55
Reporter.
Error
.WriteLine(CliCommandStrings.PostAction_Restore_Failed);
65
Reporter.
Error
.WriteLine(string.Format(CliCommandStrings.PostAction_Restore_RestoreFailed, e.Message));
Commands\New\PostActions\DotnetSlnPostActionProcessor.cs (6)
73
Reporter.
Error
.WriteLine(CliCommandStrings.PostAction_AddProjToSln_Error_NoSolutionFile);
83
Reporter.
Error
.WriteLine(CliCommandStrings.PostAction_AddProjToSln_Error_NoProjectsToAdd);
89
Reporter.
Error
.WriteLine(CliCommandStrings.PostAction_AddProjToSln_Error_NoProjectsToAdd);
98
Reporter.
Error
.WriteLine(CliCommandStrings.PostAction_AddProjToSln_Error_BothInRootAndSolutionFolderSpecified);
120
Reporter.
Error
.WriteLine(CliCommandStrings.PostAction_AddProjToSln_Failed_NoReason);
131
Reporter.
Error
.WriteLine(string.Format(CliCommandStrings.PostAction_AddProjToSln_Failed, e.Message));
Commands\Reference\Add\ReferenceAddCommand.cs (3)
47
Reporter.
Error
.Write(GetProjectNotCompatibleWithFrameworksDisplayString(
60
Reporter.
Error
.WriteLine(string.Format(
71
Reporter.
Error
.Write(GetProjectNotCompatibleWithFrameworksDisplayString(@ref, [frameworkString]));
Commands\Run\CSharpCompilerCommand.cs (2)
172
Reporter.
Error
.WriteLine("Error: Compiler server reports a different hash version than the SDK.".Red());
182
Reporter.
Error
.WriteLine($"Warning: Compiler server returned unexpected response: {response.GetType().Name}".Yellow());
Commands\Run\RunCommand.cs (6)
176
Reporter.
Error
.WriteLine(string.Format(CliCommandStrings.RunCommandExceptionCouldNotApplyLaunchSettings, LaunchProfileParser.GetLaunchProfileDisplayName(LaunchProfile), launchProfileParseResult.FailureReason).Bold().Red());
453
static (message, isError) => (isError ? Reporter.
Error
: Reporter.Output).WriteLine(message));
462
Reporter.
Error
.WriteLine(string.Format(CliCommandStrings.UsingLaunchSettingsFromMessage, launchSettingsPath));
511
Reporter.
Error
.WriteLine();
883
Reporter.
Error
.WriteLine(
890
Reporter.
Error
.WriteLine(
Commands\Run\RunCommandSelector.cs (17)
269
Reporter.
Error
.WriteLine(string.Format(CliCommandStrings.RunCommandExceptionUnableToRunSpecifyFramework, "--framework"));
270
Reporter.
Error
.WriteLine();
271
Reporter.
Error
.WriteLine(CliCommandStrings.RunCommandAvailableTargetFrameworks);
272
Reporter.
Error
.WriteLine();
276
Reporter.
Error
.WriteLine($" {i + 1}. {frameworks[i]}");
279
Reporter.
Error
.WriteLine();
280
Reporter.
Error
.WriteLine($"{CliCommandStrings.RunCommandExampleText}: dotnet run --framework {frameworks[0]}");
281
Reporter.
Error
.WriteLine();
434
Reporter.
Error
.WriteLine(CliCommandStrings.RunCommandNoDevicesAvailable);
499
Reporter.
Error
.WriteLine(string.Format(CliCommandStrings.RunCommandExceptionUnableToRunSpecifyDevice, "--device"));
500
Reporter.
Error
.WriteLine();
501
Reporter.
Error
.WriteLine(CliCommandStrings.RunCommandAvailableDevices);
502
Reporter.
Error
.WriteLine();
514
Reporter.
Error
.WriteLine(displayText);
517
Reporter.
Error
.WriteLine();
518
Reporter.
Error
.WriteLine($"{CliCommandStrings.RunCommandExampleText}: dotnet run --device {ArgumentEscaper.EscapeSingleArg(devices[0].Id)}");
519
Reporter.
Error
.WriteLine();
Commands\Run\VirtualProjectBuildingCommand.cs (1)
385
Reporter.
Error
.WriteLine(CommandLoggingContext.IsVerbose ?
Commands\Solution\Add\SolutionAddCommand.cs (3)
173
Reporter.
Error
.WriteLine(string.Format(CliStrings.InvalidProjectWithExceptionMessage, fullProjectPath, ex.Message));
224
Reporter.
Error
.WriteLine(CliStrings.UnsupportedProjectType, fullProjectPath);
322
Reporter.
Error
.WriteLine(CliStrings.ProjectNotFoundInTheSolution, parentSolutionRelativePath, parentSolutionPath);
Commands\Test\MTP\MSBuildHandler.cs (3)
33
Reporter.
Error
.WriteLine(string.Format(CliCommandStrings.CmdMSBuildProjectsPropertiesErrorDescription, buildExitCode));
47
Reporter.
Error
.WriteLine(
62
Reporter.
Error
.WriteLine(CliCommandStrings.CmdTestNoTestProjectsFound);
Commands\Test\MTP\SolutionAndProjectUtility.cs (2)
406
Reporter.
Error
.WriteLine(string.Format(CliCommandStrings.UsingLaunchSettingsFromMessage, launchSettingsPath));
412
Reporter.
Error
.WriteLine(string.Format(CliCommandStrings.RunCommandExceptionCouldNotApplyLaunchSettings, profileName, result.FailureReason).Bold().Red());
Commands\Test\MTP\TestApplication.cs (1)
432
Reporter.
Error
.WriteLine(messageBuilder.ToString());
Commands\Test\MTP\TestApplicationActionQueue.cs (1)
70
Reporter.
Error
.WriteLine(string.Format(CliCommandStrings.ErrorRunningTestModule, module.RunProperties?.Command, module.RunProperties?.Arguments, exAsString));
Commands\Test\MTP\ValidationUtility.cs (4)
91
Reporter.
Error
.WriteLine(message);
113
Reporter.
Error
.WriteLine(string.Format(CliCommandStrings.CmdInvalidSolutionFileExtensionErrorDescription, solutionFileOrDirectory));
136
Reporter.
Error
.WriteLine(string.Format(CliCommandStrings.CmdInvalidProjectFileExtensionErrorDescription, projectOrSolutionFileOrDirectory));
147
Reporter.
Error
.WriteLine(string.Format(CliCommandStrings.CmdNonExistentFileErrorDescription, Path.GetFullPath(filePath)));
Commands\Tool\Execute\ToolExecuteCommand.cs (1)
87
Reporter.
Error
.WriteLine(restoreResult.Message.Red());
Commands\Tool\Install\ProjectRestorer.cs (1)
17
private readonly IReporter _errorReporter = reporter ?? Reporter.
Error
;
Commands\Tool\List\ToolListGlobalOrToolPathCommand.cs (1)
23
private readonly IReporter _errorReporter = reporter ?? Reporter.
Error
;
Commands\Tool\Restore\ToolRestoreCommand.cs (1)
63
_errorReporter = reporter ?? Reporter.
Error
;
Commands\Workload\Search\WorkloadSearchVersionsCommand.cs (2)
95
Utils.Reporter.
Error
.WriteLine(string.Format(CliCommandStrings.NoWorkloadVersionsFound, new SdkFeatureBand(_sdkVersion)));
187
Utils.Reporter.
Error
.WriteLine(string.Format(CliCommandStrings.NoWorkloadVersionsFound, featureBand));
Extensions\ParseResultExtensions.cs (1)
106
Reporter.
Error
.WriteLine(CliStrings.RequiredCommandNotPassed.Red());
NugetPackageDownloader\NuGetConsoleLogger.cs (2)
62
Reporter.
Error
.WriteLine($"[NuGet Manager] [Error] {data}");
87
Reporter.
Error
.WriteLine($"[NuGet Manager] [Warning] {data}");
Parser.cs (5)
268
Reporter.
Error
.WriteLine(CommandLoggingContext.IsVerbose ?
274
Reporter.
Error
.WriteLine(CommandLoggingContext.IsVerbose ?
281
Reporter.
Error
.WriteLine(CommandLoggingContext.IsVerbose ?
287
Reporter.
Error
.Write("Unhandled exception: ".Red().Bold());
288
Reporter.
Error
.WriteLine(CommandLoggingContext.IsVerbose ?
Program.cs (4)
123
Reporter.
Error
.WriteLine(CommandLoggingContext.IsVerbose
137
Reporter.
Error
.WriteLine(e.ToString().Red().Bold());
172
Reporter.
Error
.WriteLine(e.Message.Red());
239
var reporter = Reporter.
Error
;
ReleasePropertyProjectLocator.cs (1)
245
Reporter.
Error
.WriteLine(e.Message);
Microsoft.DotNet.Cli.Utils (1)
Command.cs (1)
158
_stdErr?.ForwardTo(writeLine: Reporter.
Error
.WriteLine);
Microsoft.TemplateEngine.Cli (115)
Commands\BaseCommand.cs (5)
265
Reporter.
Error
.WriteLine(ex.Message.Bold().Red());
278
Reporter.
Error
.WriteLine(ex.Message.Bold().Red());
283
Reporter.
Error
.WriteLine(ex.StackTrace.Bold().Red());
290
Reporter.
Error
.WriteLine();
291
Reporter.
Error
.WriteLine(LocalizableStrings.BaseCommand_ExitCodeHelp, (int)returnCode);
Commands\create\InstantiateCommand.cs (7)
192
HandleNoMatchingTemplateGroup(instantiateArgs, allTemplateGroups, Reporter.
Error
);
197
return HandleAmbiguousTemplateGroup(environmentSettings, templatePackageManager, selectedTemplateGroups, Reporter.
Error
, cancellationToken);
264
Reporter.
Error
,
268
return HandleNoTemplateFoundResult(args, environmentSettings, templatePackageManager, templateGroup, Reporter.
Error
);
284
Reporter.
Error
);
293
Reporter.
Error
);
420
Reporter.
Error
.WriteLine(LocalizableStrings.GenericWarning, e.Message);
Commands\create\InstantiateCommand.NoMatchHandling.cs (3)
198
Reporter.
Error
.WriteLine(string.Format(LocalizableStrings.Generic_Info_NoMatchingTemplates, baseInputParameters).Bold().Red());
209
Reporter.
Error
.WriteLine(string.Format(LocalizableStrings.TemplateOptions_Error_AllowedValuesForOptionList, token.Value, allowedValues));
213
Reporter.
Error
.WriteLine();
Commands\create\InstantiateCommand.TabCompletion.cs (1)
92
Reporter.
Error
.WriteLine(LocalizableStrings.GenericWarning, e.Message);
Commands\create\TemplateCommand.cs (2)
169
TemplatePackageDisplay templatePackageDisplay = new(Reporter.Output, Reporter.
Error
);
238
var reporter = templateArgs.IsForceFlagSpecified ? Reporter.Output : Reporter.
Error
;
NuGet\CliNuGetLogger.cs (2)
48
Reporter.
Error
.WriteLine($"[NuGet Manager] [Error] {data}");
73
Reporter.
Error
.WriteLine($"[NuGet Manager] [Warning] {data}");
PostActionDispatcher.cs (7)
114
Reporter.
Error
.WriteLine(LocalizableStrings.PostActionDispatcher_Error_NotSupported, action.ActionId);
117
Reporter.
Error
.WriteLine(LocalizableStrings.PostActionDescription, action.Description);
127
Reporter.
Error
.WriteLine(LocalizableStrings.PostActionDispatcher_Error_RunScriptNotAllowed);
130
Reporter.
Error
.WriteLine(LocalizableStrings.PostActionDescription, action.Description);
227
Reporter.
Error
.WriteLine(LocalizableStrings.PostActionFailedInstructionHeader);
233
Reporter.
Error
.WriteLine(LocalizableStrings.PostActionFailedInstructionHeader);
249
IReporter stream = useErrorOutput ? Reporter.
Error
: Reporter.Output;
PostActionProcessors\AddJsonPropertyPostActionProcessor.cs (12)
88
Reporter.
Error
.WriteLine(string.Format(LocalizableStrings.PostAction_ModifyJson_Error_ArgumentNotConfigured, JsonFileNameArgument));
94
Reporter.
Error
.WriteLine(string.Format(LocalizableStrings.PostAction_ModifyJson_Error_ArgumentNotBoolean, DetectRepoRoot));
100
Reporter.
Error
.WriteLine(string.Format(LocalizableStrings.PostAction_ModifyJson_Error_ArgumentNotBoolean, IncludeAllDirectoriesInSearch));
108
Reporter.
Error
.WriteLine(string.Format(LocalizableStrings.PostAction_ModifyJson_Error_ArgumentNotBoolean, IncludeAllParentDirectoriesInSearch));
124
Reporter.
Error
.WriteLine(string.Format(LocalizableStrings.PostAction_ModifyJson_Error_ArgumentNotBoolean, AllowFileCreationArgument));
130
Reporter.
Error
.WriteLine(LocalizableStrings.PostAction_ModifyJson_Error_NoJsonFile);
141
Reporter.
Error
.WriteLine(string.Format(LocalizableStrings.PostAction_ModifyJson_Error_MultipleJsonFiles, jsonFileName));
180
Reporter.
Error
.WriteLine(string.Format(LocalizableStrings.PostAction_ModifyJson_Error_NullJson, fileContent));
186
Reporter.
Error
.WriteLine(string.Format(LocalizableStrings.PostAction_ModifyJson_Error_ArgumentNotBoolean, AllowPathCreationArgument));
194
Reporter.
Error
.WriteLine(string.Format(LocalizableStrings.PostAction_ModifyJson_Error_ParentPropertyPathInvalid, propertyPath));
312
Reporter.
Error
.WriteLine(string.Format(LocalizableStrings.PostAction_ModifyJson_Error_ArgumentNotConfigured, NewJsonPropertyNameArgument));
318
Reporter.
Error
.WriteLine(string.Format(LocalizableStrings.PostAction_ModifyJson_Error_ArgumentNotConfigured, NewJsonPropertyValueArgument));
PostActionProcessors\ChmodPostActionProcessor.cs (3)
55
Reporter.
Error
.WriteLine(LocalizableStrings.UnableToSetPermissions, entry.Key, file);
65
Reporter.
Error
.WriteLine(LocalizableStrings.UnableToSetPermissions, entry.Key, file);
71
Reporter.
Error
.WriteLine(LocalizableStrings.UnableToSetPermissions, entry.Key, file);
PostActionProcessors\ProcessStartPostActionProcessor.cs (8)
21
Reporter.
Error
.WriteLine(LocalizableStrings.PostAction_ProcessStartProcessor_Error_ConfigMissingExecutable);
66
Reporter.
Error
.WriteLine(LocalizableStrings.CommandFailed);
75
Reporter.
Error
.WriteLine(LocalizableStrings.CommandFailed);
76
Reporter.
Error
.WriteCommandOutput(commandResult);
77
Reporter.
Error
.WriteLine(string.Empty);
88
Reporter.
Error
.WriteLine(LocalizableStrings.CommandFailed);
89
Reporter.
Error
.WriteLine(ex.Message);
90
Reporter.
Error
.WriteLine(string.Empty);
TemplateInvoker.cs (22)
69
Reporter.
Error
.WriteLine(cx.Message.Bold().Red());
72
Reporter.
Error
.WriteLine(cx.InnerException.Message.Bold().Red());
80
Reporter.
Error
.WriteLine(ex.Message.Bold().Red());
139
Reporter.
Error
.WriteLine(string.Format(LocalizableStrings.InvalidNameParameter, printableChars, nonPrintableChars).Bold().Red());
181
Reporter.
Error
.WriteLine(cx.Message.Bold().Red());
184
Reporter.
Error
.WriteLine(cx.InnerException.Message.Bold().Red());
191
Reporter.
Error
.WriteLine(tae.Message.Bold().Red());
224
Reporter.
Error
.WriteLine(string.Format(LocalizableStrings.CreateFailed, resultTemplateName, instantiateResult.ErrorMessage).Bold().Red());
235
Reporter.
Error
.WriteLine(string.Format(LocalizableStrings.MissingRequiredParameter, fixedMessage, resultTemplateName).Bold().Red());
239
Reporter.
Error
.WriteLine(LocalizableStrings.TemplateCreator_Error_TemplateNotFound.Bold().Red());
240
Reporter.
Error
.WriteLine();
268
Reporter.
Error
.WriteLine($"{LocalizableStrings.InvalidCommandOptions}: {instantiateResult.ErrorMessage}".Bold().Red());
269
Reporter.
Error
.WriteLine(LocalizableStrings.RunHelpForInformationAboutAcceptedParameters);
270
Reporter.
Error
.WriteCommand(
277
Reporter.
Error
.WriteLine(LocalizableStrings.DestructiveChangesNotification.Bold().Red());
286
Reporter.
Error
.WriteLine(($" {GetChangeString(change.ChangeKind)}".PadRight(padLen) + AdjustReportedPath(change.TargetRelativePath)).Bold().Red());
288
Reporter.
Error
.WriteLine();
290
Reporter.
Error
.WriteLine(
294
Reporter.
Error
.WriteCommand(Example.FromExistingTokens<TemplateCommand>(templateArgs.ParseResult).WithOption(c => c.ForceOption));
299
Reporter.
Error
.WriteLine(instantiateResult.ErrorMessage.Bold().Red());
303
Reporter.
Error
.WriteLine(LocalizableStrings.OperationCancelled.Bold().Red());
306
Reporter.
Error
.WriteLine(string.Format(LocalizableStrings.UnexpectedResult, Enum.GetName(typeof(CreationResultStatus), instantiateResult.Status), instantiateResult.ErrorMessage).Bold().Red());
TemplateListCoordinator.cs (8)
88
Reporter.
Error
.WriteLine(
97
Reporter.
Error
.WriteLine(
109
Reporter.
Error
.WriteLine(
117
Reporter.
Error
.WriteLine();
119
Reporter.
Error
.WriteLine(LocalizableStrings.Generic_CommandHints_Search);
122
Reporter.
Error
.WriteCommand(
130
Reporter.
Error
.WriteCommand(
136
Reporter.
Error
.WriteLine();
TemplatePackageCoordinator.cs (23)
44
_templatePackageDisplay = new TemplatePackageDisplay(Reporter.Output, Reporter.
Error
);
70
Reporter.
Error
.WriteLine(LocalizableStrings.TemplatePackageCoordinator_Error_PackageForTemplateNotFound, args.Template.Identity);
96
Reporter.
Error
.WriteLine(LocalizableStrings.TemplatePackageCoordinator_Error_PackageForTemplateNotFound, template.Identity);
160
Reporter.
Error
.WriteLine();
226
Reporter.
Error
.WriteLine(LocalizableStrings.TemplatePackageCoordinator_Install_Error_FoundNoPackagesToInstall);
238
Reporter.
Error
.WriteLine(LocalizableStrings.TemplatePackageCoordinator_Install_Error_SameInstallRequests, installRequest.PackageIdentifier);
379
Reporter.
Error
.WriteLine(LocalizableStrings.TemplatePackageCoordinator_Uninstall_Error_GenericError, uninstallResult.TemplatePackage.DisplayName, uninstallResult.ErrorMessage);
627
IReporter reporter = args.Force ? Reporter.Output : Reporter.
Error
;
715
Reporter.
Error
.WriteLine(
725
Reporter.
Error
.WriteLine(LocalizableStrings.TemplatePackageCoordinator_Error_TemplateIncludedToPackages, notFoundPackage);
730
Reporter.
Error
.WriteLine(
736
Reporter.
Error
.WriteLine(LocalizableStrings.TemplatePackageCoordinator_Uninstall_Error_UninstallCommandHeader);
740
Reporter.
Error
.WriteCommand(
748
Reporter.
Error
.WriteCommand(
757
Reporter.
Error
.WriteLine(LocalizableStrings.TemplatePackageCoordinator_Uninstall_Error_ListPackagesHeader);
758
Reporter.
Error
.WriteCommand(
766
Reporter.
Error
.WriteLine(LocalizableStrings.TemplatePackageCoordinator_Uninstall_Error_ListPackagesHeader);
767
Reporter.
Error
.WriteCommand(
772
Reporter.
Error
.WriteLine();
820
Reporter.
Error
.WriteLine(
828
Reporter.
Error
.WriteLine(
835
Reporter.
Error
.WriteLine(
842
Reporter.
Error
.WriteLine(
TemplatePackageDisplay.cs (1)
331
Reporter.
Error
.WriteLine();
TemplateSearch\CliTemplateSearchCoordinator.cs (11)
60
Reporter.
Error
.WriteLine(LocalizableStrings.CliTemplateSearchCoordinator_Error_NoSources.Bold().Red());
68
Reporter.
Error
.WriteLine(LocalizableStrings.CliTemplateSearchCoordinator_Info_MatchesFromSource, result.Provider.Factory.DisplayName);
69
Reporter.
Error
.WriteLine(string.Format(LocalizableStrings.CliTemplateSearchCoordinator_Error_SearchFailure, result.ErrorMessage).Red().Bold());
83
Reporter.
Error
.WriteLine(
256
Reporter.
Error
.WriteLine(LocalizableStrings.CliTemplateSearchCoordinator_Error_NoTemplateName.Red().Bold());
257
Reporter.
Error
.WriteLine(LocalizableStrings.CliTemplateSearchCoordinator_Info_SearchHelp, string.Join(", ", FilterOptions.GetAllNames(NewSearchCommandDefinition.HasSupportedPackageFilterOption).Select(static optionName => $"'{optionName}'")));
258
Reporter.
Error
.WriteLine(LocalizableStrings.Generic_ExamplesHeader);
259
Reporter.
Error
.WriteCommand(
265
Reporter.
Error
.WriteCommand(
271
Reporter.
Error
.WriteCommand(
283
Reporter.
Error
.WriteLine(LocalizableStrings.CliTemplateSearchCoordinator_Error_TemplateNameIsTooShort.Bold().Red());