2 implementations of WriteLine
dotnet (1)
Commands\Workload\Install\NullReporter.cs (1)
14
public void
WriteLine
(string format, params object?[] args) => WriteLine(string.Format(format, args));
Microsoft.DotNet.Cli.Utils (1)
Reporter.cs (1)
148
public void
WriteLine
(string format, params object?[] args) => WriteLine(string.Format(format, args));
78 references to WriteLine
dotnet (29)
Commands\Clean\FileBasedAppArtifacts\CleanFileBasedAppArtifactsCommand.cs (2)
48
Reporter.Output.
WriteLine
(
72
Reporter.Output.
WriteLine
(CliCommandStrings.CleanFileBasedAppArtifactsScanning, directory.FullName);
Commands\Project\Convert\ProjectConvertCommand.cs (9)
148
Reporter.Output.
WriteLine
(CliCommandStrings.ProjectConvertWouldCopyFile, sourceFile, targetFile);
149
Reporter.Output.
WriteLine
(CliCommandStrings.ProjectConvertWouldConvertFile, targetFile);
160
Reporter.Output.
WriteLine
(CliCommandStrings.ProjectConvertWouldCreateFile, projectFile);
183
Reporter.Output.
WriteLine
(CliCommandStrings.ProjectConvertWouldCreateDirectory, path);
196
Reporter.Output.
WriteLine
(CliCommandStrings.ProjectConvertWouldCopyFile, source, target);
208
Reporter.Output.
WriteLine
(CliCommandStrings.ProjectConvertWouldDeleteSourceFile, path);
213
Reporter.Output.
WriteLine
(CliCommandStrings.ProjectConvertDeletedSourceFile, path);
236
Reporter.Output.
WriteLine
(CliCommandStrings.ProjectConvertWouldCopyFile, item.FullPath, targetItemFullPath);
237
Reporter.Output.
WriteLine
(CliCommandStrings.ProjectConvertWouldConvertFile, targetItemFullPath);
Commands\Solution\Add\SolutionAddCommand.cs (6)
224
Reporter.Error.
WriteLine
(CliStrings.UnsupportedProjectType, fullProjectPath);
231
Reporter.Output.
WriteLine
(CliStrings.SolutionAlreadyContainsProject, _solutionFileFullPath, solutionRelativeProjectPath);
261
Reporter.Output.
WriteLine
(CliStrings.ProjectAddedToTheSolution, solutionRelativeProjectPath);
322
Reporter.Error.
WriteLine
(CliStrings.ProjectNotFoundInTheSolution, parentSolutionRelativePath, parentSolutionPath);
329
Reporter.Output.
WriteLine
(CliStrings.SolutionAlreadyContainsProject, _solutionFileFullPath, parentSolutionRelativePath);
334
Reporter.Output.
WriteLine
(CliStrings.ProjectAddedToTheSolution, parentSolutionRelativePath);
Commands\Solution\Migrate\SolutionMigrateCommand.cs (1)
49
_reporter.
WriteLine
(CliCommandStrings.SlnxGenerated, slnxFilePath);
Commands\Solution\Remove\SolutionRemoveCommand.cs (4)
93
Reporter.Output.
WriteLine
(CliStrings.ProjectNotFoundInTheSolution, projectPath);
99
Reporter.Output.
WriteLine
(CliStrings.ProjectRemovedFromTheSolution, projectPath);
161
Reporter.Output.
WriteLine
(CliStrings.ProjectRemovedFromTheSolution, normalizedPath);
165
Reporter.Output.
WriteLine
(CliStrings.ProjectNotFoundInTheSolution, normalizedPath);
Commands\Workload\Install\WorkloadManifestUpdater.cs (5)
309
_reporter.
WriteLine
(CliCommandStrings.ManifestPackageUrlNotResolved, providedPackageId);
314
_reporter.
WriteLine
(CliCommandStrings.ManifestPackageUrlNotResolved, manifest.Id);
373
_reporter.
WriteLine
(CliCommandStrings.AdManifestUpdated, manifestId);
380
_reporter.
WriteLine
(CliCommandStrings.FailedAdManifestUpdate, manifestId, e.Message);
419
_reporter.
WriteLine
(CliCommandStrings.AdManifestPackageDoesNotExist, manifest.Id);
NugetPackageDownloader\NuGetPackageDownloader.cs (2)
291
_reporter.
WriteLine
(CliStrings.VerifyingNuGetPackageSignature, Path.GetFileNameWithoutExtension(nupkgPath));
297
_reporter.
WriteLine
(CliStrings.NuGetPackageShouldNotBeSigned, Path.GetFileNameWithoutExtension(nupkgPath));
Microsoft.TemplateEngine.Cli (49)
Commands\BaseCommand.cs (2)
127
Reporter.Output.
WriteLine
(LocalizableStrings.Commands_TemplateShortNameCommandConflict_Info, usedCommandAlias);
291
Reporter.Error.
WriteLine
(LocalizableStrings.BaseCommand_ExitCodeHelp, (int)returnCode);
Commands\create\InstantiateCommand.cs (2)
420
Reporter.Error.
WriteLine
(LocalizableStrings.GenericWarning, e.Message);
486
reporter.
WriteLine
(LocalizableStrings.Generic_CommandHints_List_Template, instantiateArgs.ShortName);
Commands\create\InstantiateCommand.TabCompletion.cs (1)
92
Reporter.Error.
WriteLine
(LocalizableStrings.GenericWarning, e.Message);
Commands\create\TemplateCommand.cs (3)
242
reporter.
WriteLine
(LocalizableStrings.TemplateCommand_DisplayConstraintResults_Warning, templateArgs.Template.Name);
246
reporter.
WriteLine
(LocalizableStrings.TemplateCommand_DisplayConstraintResults_Error, templateArgs.Template.Name);
257
reporter.
WriteLine
(LocalizableStrings.TemplateCommand_DisplayConstraintResults_Hint, ForceOption.Name);
PostActionDispatcher.cs (8)
114
Reporter.Error.
WriteLine
(LocalizableStrings.PostActionDispatcher_Error_NotSupported, action.ActionId);
117
Reporter.Error.
WriteLine
(LocalizableStrings.PostActionDescription, action.Description);
130
Reporter.Error.
WriteLine
(LocalizableStrings.PostActionDescription, action.Description);
183
Reporter.Output.
WriteLine
(LocalizableStrings.PostActionDescription, action.Description);
191
Reporter.Output.
WriteLine
(LocalizableStrings.PostActionPromptRequest, YesAnswer, NoAnswer);
206
Reporter.Output.
WriteLine
(LocalizableStrings.PostActionInvalidInputRePrompt, input, YesAnswer, NoAnswer);
234
Reporter.Verbose.
WriteLine
(LocalizableStrings.Generic_Details, e.ToString());
250
stream.
WriteLine
(LocalizableStrings.PostActionInstructions, action.ManualInstructions);
PostActionProcessors\ChmodPostActionProcessor.cs (4)
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);
72
Reporter.Verbose.
WriteLine
(LocalizableStrings.Generic_Details, ex.ToString());
PostActionProcessors\InstructionDisplayPostActionProcessor.cs (2)
18
Reporter.Output.
WriteLine
(LocalizableStrings.PostActionDescription, actionConfig.Description);
19
Reporter.Output.
WriteLine
(LocalizableStrings.PostActionInstructions, actionConfig.ManualInstructions);
PostActionProcessors\ProcessStartPostActionProcessor.cs (2)
50
Reporter.Output.
WriteLine
(LocalizableStrings.RunningCommand, command);
91
Reporter.Verbose.
WriteLine
(LocalizableStrings.Generic_Details, ex.ToString());
TemplateInvoker.cs (2)
202
Reporter.Output.
WriteLine
(LocalizableStrings.CreateSuccessful, resultTemplateName);
218
Reporter.Output.
WriteLine
(LocalizableStrings.ThirdPartyNotices, templateArgs.Template.ThirdPartyNotices);
TemplateListCoordinator.cs (3)
54
Reporter.Output.
WriteLine
(LocalizableStrings.TemplatesFoundMatchingInputParameters, GetInputParametersString(args));
153
Reporter.Output.
WriteLine
(LocalizableStrings.TemplateInformationCoordinator_DotnetNew_Description, Example.For<NewCommand>(args.ParseResult));
157
Reporter.Output.
WriteLine
(LocalizableStrings.TemplateInformationCoordinator_DotnetNew_TemplatesHeader, Example.For<NewCommand>(args.ParseResult));
TemplatePackageCoordinator.cs (11)
70
Reporter.Error.
WriteLine
(LocalizableStrings.TemplatePackageCoordinator_Error_PackageForTemplateNotFound, args.Template.Identity);
96
Reporter.Error.
WriteLine
(LocalizableStrings.TemplatePackageCoordinator_Error_PackageForTemplateNotFound, template.Identity);
146
Reporter.Output.
WriteLine
(LocalizableStrings.TemplatePackageCoordinator_Update_Info_UpdateAvailable, displayString);
166
Reporter.Output.
WriteLine
(LocalizableStrings.TemplatePackageCoordinator_BuiltInCheck_Info_BuiltInPackageAvailable, $"{packageId}@{version}", provider);
238
Reporter.Error.
WriteLine
(LocalizableStrings.TemplatePackageCoordinator_Install_Error_SameInstallRequests, installRequest.PackageIdentifier);
375
Reporter.Output.
WriteLine
(LocalizableStrings.TemplatePackageCoordinator_Uninstall_Info_Success, uninstallResult.TemplatePackage.DisplayName);
379
Reporter.Error.
WriteLine
(LocalizableStrings.TemplatePackageCoordinator_Uninstall_Error_GenericError, uninstallResult.TemplatePackage.DisplayName, uninstallResult.ErrorMessage);
469
Reporter.Output.
WriteLine
(
593
Reporter.Verbose.
WriteLine
(LocalizableStrings.TemplatePackageCoordinator_Verbose_NuGetCredentialServiceError, ex.ToString());
639
reporter.
WriteLine
(LocalizableStrings.TemplatePackageCoordinator_Install_Info_UseForceToOverride, SharedOptionsFactory.ForceOptionName);
725
Reporter.Error.
WriteLine
(LocalizableStrings.TemplatePackageCoordinator_Error_TemplateIncludedToPackages, notFoundPackage);
TemplatePackageDisplay.cs (5)
52
_reporterOutput.
WriteLine
(LocalizableStrings.TemplatePackageCoordinator_Update_Info_UpdateAvailable, displayString);
72
_reporterOutput.
WriteLine
(LocalizableStrings.TemplatePackageCoordinator_BuiltInCheck_Info_BuiltInPackageAvailable, $"{packageId}@{version}", provider);
107
_reporterOutput.
WriteLine
(LocalizableStrings.TemplatePackageCoordinator_lnstall_Info_Success, result.TemplatePackage.DisplayName);
117
_reporterOutput.
WriteLine
(LocalizableStrings.TemplatePackageCoordinator_lnstall_Warning_No_Templates_In_Package, result.TemplatePackage.DisplayName);
160
_reporterError.
WriteLine
(LocalizableStrings.TemplatePackageCoordinator_lnstall_Error_AlreadyInstalled_Hint, SharedOptionsFactory.ForceOptionName);
TemplateSearch\CliTemplateSearchCoordinator.cs (4)
68
Reporter.Error.
WriteLine
(LocalizableStrings.CliTemplateSearchCoordinator_Info_MatchesFromSource, result.Provider.Factory.DisplayName);
73
Reporter.Output.
WriteLine
(LocalizableStrings.CliTemplateSearchCoordinator_Info_MatchesFromSource, result.Provider.Factory.DisplayName);
182
Reporter.Output.
WriteLine
(LocalizableStrings.TemplatesFoundMatchingInputParameters, GetInputParametersString(commandArgs));
257
Reporter.Error.
WriteLine
(LocalizableStrings.CliTemplateSearchCoordinator_Info_SearchHelp, string.Join(", ", FilterOptions.GetAllNames(NewSearchCommandDefinition.HasSupportedPackageFilterOption).Select(static optionName => $"'{optionName}'")));