229 references to LogError
aspire (63)
Backchannel\ExtensionBackchannel.cs (1)
191_logger.LogError(
Bundles\BundleService.cs (5)
266logger.LogError("Failed to flip bundle links to {VersionDir}.", activeVersionDir); 274logger.LogError("Post-flip layout validation failed; attempting rollback."); 277logger.LogError("Rollback of bundle links failed; layout is in an inconsistent state."); 342logger.LogError("Extracted bundle at {Path} failed verification; renaming to {BadPath}.", tempDir, badPath); 381logger.LogError("Post-rename validation failed for {Path}; renaming to {BadPath}.", activeVersionDir, badPath);
Certificates\CertificateGeneration\CertificateManager.cs (22)
1129_logger.LogError("An error occurred while listing the certificates: {Error}", e); 1161_logger.LogError("An error has occurred generating the certificate: {Error}.", e); 1173_logger.LogError("An error has occurred saving the certificate: {Error}.", e); 1189_logger.LogError("An error has occurred while exporting the certificate: {Error}.", error); 1197_logger.LogError("An error has occurred while writing the certificate to disk: {Error}.", error); 1209_logger.LogError("An error has occurred while trusting the certificate: {Error}.", error); 1261_logger.LogError("An error has occurred while removing the certificate from the user store: {Error}.", error); 1297_logger.LogError("An error has occurred while correcting the certificate state: {Error}.", error); 1309_logger.LogError("An error has occurred while importing the certificate to the keychain: {ExitCode}, {Output}", exitCode, output); 1317_logger.LogError("An error has occurred while writing the certificate to disk: {Error}.", error); 1321_logger.LogError("The file '{CertificatePath}' does not exist.", certificatePath); 1325_logger.LogError("One or more HTTPS certificates exist '{CertificateDescription}'.", certificateDescription); 1337_logger.LogError("An error has occurred while loading the certificate from disk: {Error}.", error); 1341_logger.LogError("The provided certificate '{Description}' is not a valid ASP.NET Core HTTPS development certificate.", description); 1357_logger.LogError("An error has occurred while saving certificate '{CertificateThumbprint}' in the user profile folder: {ErrorMessage}.", certificateThumbprint, errorMessage); 1361_logger.LogError("An error has occurred while removing certificate '{CertificateThumbprint}' from the user profile folder: {ErrorMessage}.", certificateThumbprint, errorMessage); 1365_logger.LogError("The file '{Path}' is not a valid certificate.", path); 1413_logger.LogError("Unable to compute the hash of certificate {CertificatePath}. OpenSSL trust is likely in an inconsistent state.", certificatePath); 1417_logger.LogError("Unable to compute the certificate hash: {CertificatePath}. OpenSSL trust is likely in an inconsistent state. {ExceptionMessage}", certificatePath, exceptionMessage); 1421_logger.LogError("Unable to update certificate '{FullName}' in the OpenSSL trusted certificate hash collection - {MaxHashCollisions} certificates have the hash {Hash}.", fullName, maxHashCollisions, hash); 1425_logger.LogError("Unable to update the OpenSSL trusted certificate hash collection: {ExceptionMessage}. Manually rehashing may help. See https://aka.ms/dev-certs-trust for more information.", exceptionMessage); 1521_logger.LogError("Unable to export the certificate since '{CertPath}' already exists. Please remove it.", certPath);
Commands\AgentMcpCommand.cs (1)
99_logger.LogError("Invalid --dashboard-url: {DashboardUrl}", dashboardUrl);
DotNet\DotNetCliRunner.cs (14)
565logger.LogError("Timed out waiting for AppHost backchannel after {Timeout} seconds", connectionTimeout.TotalSeconds); 871logger.LogError( 1111logger.LogError( 1129logger.LogError("Failed to read stdout from the process. This should never happen."); 1140logger.LogError("Failed to parse template version from stdout."); 1361logger.LogError("Failed to add package {PackageName} with version {PackageVersion} to project {ProjectFilePath}. See debug logs for more details.", packageName, packageVersion, projectFilePath.FullName); 1390logger.LogError("Failed to add project {ProjectFilePath} to solution {SolutionFilePath}. See debug logs for more details.", projectFile.FullName, solutionFile.FullName); 1417logger.LogError("Failed to get NuGet config paths. Exit code was: {ExitCode}.", exitCode); 1605logger.LogError( 1619logger.LogError("Failed to read stdout from the process. This should never happen."); 1637logger.LogError($"Failed to read JSON returned by the package search. {ex.Message}"); 1677logger.LogError("Failed to get NuGet config paths. Exit code was: {ExitCode}.", exitCode); 1719logger.LogError("Failed to list solution projects. Exit code was: {ExitCode}.", exitCode); 1773logger.LogError("Failed to add project reference from {ProjectFile} to {ReferencedProject}. See debug logs for more details.", projectFile.FullName, referencedProject.FullName);
NuGet\BundleNuGetPackageCache.cs (3)
212_logger.LogError("NuGet search failed with exit code {ExitCode}", exitCode); 213_logger.LogError("NuGet search stderr: {Error}", error); 214_logger.LogError("NuGet search stdout: {Output}", output);
NuGet\BundleNuGetService.cs (6)
206_logger.LogError("Package restore failed with exit code {ExitCode}", exitCode); 207_logger.LogError("Package restore stderr: {Error}", error); 208_logger.LogError("Package restore stdout: {Output}", output); 255_logger.LogError("Manifest creation failed with exit code {ExitCode}", exitCode); 256_logger.LogError("Manifest creation stderr: {Error}", error); 257_logger.LogError("Manifest creation stdout: {Output}", output);
Profiling\ProfileCaptureService.cs (2)
324_logger.LogError("No profiling traces were exported for session {SessionId}", _options.SessionId); 330_logger.LogError("No exported spans matched profiling session {SessionId}", _options.SessionId);
Program.cs (1)
797logger.LogError("Locale override failed: {ErrorMessage}", errorMessage);
Projects\GuestAppHostProject.cs (3)
723_logger.LogError("{Language} apphost exited with code {ExitCode}", DisplayName, guestExitCode); 1240_logger.LogError("{Language} apphost exited with code {ExitCode}", DisplayName, guestExitCode); 1393_logger.LogError("Timed out waiting for AppHost server to start after {Timeout} seconds", connectionTimeout.TotalSeconds);
Projects\PrebuiltAppHostServer.cs (1)
809_logger.LogError("Integration project build failed. Output:\n{BuildOutput}", outputLines);
Projects\ProcessGuestLauncher.cs (1)
58_logger.LogError("Command '{Command}' not found in PATH", command);
Projects\ProjectLocator.cs (3)
953logger.LogError("No AppHost project files found in directory {Directory}", directory.FullName); 981logger.LogError("Multiple AppHost project files found in directory {Directory}, throwing exception", directory.FullName); 1011logger.LogError("Project file {ProjectFile} does not exist.", projectFile.FullName);
Aspire.Dashboard (3)
Components\Controls\UserProfile.razor.cs (1)
71Logger.LogError("Dashboard:Frontend:AuthMode is configured for OpenIDConnect, but there is no authenticated user.");
DashboardWebApplication.cs (2)
620logger.LogError("Failed to start the dashboard due to {Count} configuration error(s).", validationFailures.Count); 623logger.LogError("{ErrorMessage}", message);
Aspire.Hosting (22)
ApplicationModel\CommandsConfigurationExtensions.cs (2)
348mainLogger.LogError(BuildLogPrefix + "Build failed with exit code {ExitCode}.", exitCode); 425logger.LogError(BuildLogPrefix + "{Message}", message);
ApplicationModel\LogFacade.cs (1)
57_loggerAccessor().LogError(message);
ApplicationModel\ResourceNotificationService.cs (6)
251_logger.LogError("Stopped waiting for resource '{ResourceName}' to become healthy because it does not exist in the application model.", resourceName); 265_logger.LogError("Stopped waiting for resource '{ResourceName}' to become healthy because it failed to start.", resourceName); 337resourceLogger.LogError( 346resourceLogger.LogError( 403resourceLogger.LogError( 414resourceLogger.LogError(
Ats\LoggingExports.cs (1)
52logger.LogError("{Message}", message);
Backchannel\AuxiliaryBackchannelRpcTarget.cs (1)
869logger.LogError("AppHost path not found in configuration.");
Dashboard\DashboardEventHandlers.cs (1)
323distributedApplicationLogger.LogError("Dashboard DLL not found: {Path}", dashboardDll);
Dcp\ContainerCreator.cs (1)
620_logger.LogError(
ExternalServiceBuilderExtensions.cs (1)
155e.Logger.LogError("The value for URL parameter '{ParameterName}' is invalid: {Error}", resource.UrlParameter?.Name, message);
Lifecycle\TerminalHostFailureDiagnosticService.cs (2)
125resourceLogger.LogError( 138resourceLogger.LogError(
Publishing\ContainerRuntimeBase.cs (4)
361_logger.LogError("{RuntimeName} login to {RegistryServer} failed with exit code {ExitCode}.", Name, registryServer, processResult.ExitCode); 407_logger.LogError(errorLogTemplate, errorArgs); 539_logger.LogError(errorLogTemplate, errorArgs); 600_logger.LogError("{RuntimeName} {OperationName} for {ImageName} failed with exit code {ExitCode}.", Name, operationName, imageName, processResult.ExitCode);
Publishing\ResourceContainerImageManager.cs (2)
224logger.LogError("Container runtime '{ContainerRuntimeName}' is not running or is unhealthy. Cannot build container images.", containerRuntime.Name); 256logger.LogError("Container runtime '{ContainerRuntimeName}' is not running or is unhealthy. Cannot build container image.", containerRuntime.Name);
Aspire.Hosting.Azure (3)
Provisioning\Internal\BicepCompiler.cs (1)
83_logger.LogError("Bicep compilation for {BicepFilePath} failed with exit code {ExitCode}.", bicepFilePath, exitCode);
Provisioning\Provisioners\BicepProvisioner.cs (2)
785resourceLogger.LogError("Azure deployment of {Name} to {DeploymentTarget} completed with provisioning state {ProvisioningState}.", resource.Name, deploymentTargetName, provisioningState); 1257resourceLogger.LogError("Azure provisioning failed: {Message}{Details}", failureDetails.ErrorMessage, CreateFailureLogDetails(failureDetails));
Aspire.Hosting.Browsers (5)
BrowserConnectionDiagnosticsLogger.cs (3)
16_resourceLogger.LogError("[{SessionId}] {Stage} failed: {Reason}", _sessionId, stage, DescribeConnectionProblem(exception)); 31_resourceLogger.LogError("[{SessionId}] Unable to reconnect tracked browser debug connection. Closing the tracked browser session. Last error: {Reason}", _sessionId, DescribeConnectionProblem(exception)); 36_resourceLogger.LogError("[{SessionId}] Tracked browser host ended before the tracked page session completed: {Reason}", _sessionId, DescribeConnectionProblem(exception));
BrowserHostRegistry.cs (1)
185_logger.LogError("Tracked browser host '{BrowserExecutable}' for user data directory '{UserDataDirectory}' had an invalid reference count '{ReferenceCount}' during release.", identity.ExecutablePath, identity.UserDataRootPath, entry.ReferenceCount);
BrowserLogsEventLogger.cs (1)
247_resourceLogger.LogError("{Message}", sessionMessage);
Aspire.Hosting.Browsers.Tests (5)
src\Aspire.Hosting.Browsers\BrowserConnectionDiagnosticsLogger.cs (3)
16_resourceLogger.LogError("[{SessionId}] {Stage} failed: {Reason}", _sessionId, stage, DescribeConnectionProblem(exception)); 31_resourceLogger.LogError("[{SessionId}] Unable to reconnect tracked browser debug connection. Closing the tracked browser session. Last error: {Reason}", _sessionId, DescribeConnectionProblem(exception)); 36_resourceLogger.LogError("[{SessionId}] Tracked browser host ended before the tracked page session completed: {Reason}", _sessionId, DescribeConnectionProblem(exception));
src\Aspire.Hosting.Browsers\BrowserHostRegistry.cs (1)
185_logger.LogError("Tracked browser host '{BrowserExecutable}' for user data directory '{UserDataDirectory}' had an invalid reference count '{ReferenceCount}' during release.", identity.ExecutablePath, identity.UserDataRootPath, entry.ReferenceCount);
src\Aspire.Hosting.Browsers\BrowserLogsEventLogger.cs (1)
247_resourceLogger.LogError("{Message}", sessionMessage);
Aspire.Hosting.DevTunnels (4)
DevTunnelCliClient.cs (4)
145logger?.LogError("Failed to create dev tunnel '{TunnelId}' (attempt {Attempt} of {MaxAttempts}). Exit code {ExitCode}: {Error}", tunnelId, attempts, _maxCliAttempts, exitCode, error); 233logger?.LogError("Failed to create port '{PortNumber}' for dev tunnel '{TunnelId}' (attempt {Attempt} of {MaxAttempts}). Exit code {ExitCode}: {Error}", portNumber, tunnelId, attempts, _maxCliAttempts, exitCode, error); 306logger?.LogError("CLI call returned non-zero exit code '{ExitCode}'. stderr output:\n{Error}", exitCode, error); 321logger?.LogError("CLI call returned empty output with exit code '{ExitCode}'.", exitCode);
Aspire.Hosting.EntityFrameworkCore (5)
EFMigrationResourceBuilderExtensions.cs (1)
67logger.LogError(
EFResourceBuilderExtensions.cs (4)
819logger.LogError("EF Core {Operation} command failed: {Error}", operationDisplayName, result.ErrorMessage); 949logger.LogError("Add Migration command failed: {Error}", result.ErrorMessage); 991logger.LogError("Remove Migration command failed: {Error}", result.ErrorMessage); 1030logger.LogError("Get Database Status command failed: {Error}", result.ErrorMessage);
Aspire.Hosting.Maui (1)
Lifecycle\MauiBuildQueueEventSubscriber.cs (1)
350logger.LogError("Failed to stop Android resource '{ResourceName}' after its launch handoff timed out. Holding the build lock until the launch terminates, a replacement start takes over, or the application stops.", resource.Name);
Aspire.Hosting.Radius (5)
Publishing\RadCredentialRegisterStep.cs (2)
95logger.LogError("The 'rad' CLI was not found on PATH. Install it from {InstallUrl}", RadiusDeploymentPipelineStep.RadInstallUrl); 329logger.LogError("{Message}", msg);
Publishing\RadiusDeploymentPipelineStep.cs (3)
109logger.LogError("The 'rad' CLI was not found on PATH. Install it from {InstallUrl}", RadInstallUrl); 121logger.LogError("Bicep file not found at {BicepPath}. Ensure the publish step completed successfully.", bicepPath); 226logger.LogError("rad deploy failed for environment '{EnvironmentName}': {ErrorMessage}", _environment.Name, errorMessage);
Aspire.Hosting.Redis (2)
RedisBuilderExtensions.cs (2)
182logger.LogError($"Cannot configure an encrypted certificate for redis resource '{redis.Name}'"); 384logger.LogError($"Cannot configure an encrypted certificate for redis insight resource '{resource.Name}'");
Aspire.Hosting.RemoteHost (2)
Ats\CapabilityDispatcher.cs (1)
128_logger.LogError("{Message} at {Location}", diagnostic.Message, diagnostic.Location);
AtsContextFactory.cs (1)
66logger.LogError("[ATS] {Message} at {Location}", diagnostic.Message, diagnostic.Location);
Aspire.Hosting.Testing.Tests (1)
ResourceLoggerForwarderServiceTests.cs (1)
119resourceLogger.LogError("Test error message");
Aspire.Hosting.Tests (6)
Backchannel\BackchannelLoggerProviderTests.cs (1)
18logger.LogError("Message 3");
ResourceLoggerServiceTests.cs (5)
33logger.LogError("Hello, error!"); 73logger.LogError("Hello, error!"); 114logger.LogError("Hello, error!"); 235logger.LogError("Hello, error!"); 285logger.LogError("Hello, error!");
Aspire.TerminalHost (2)
DcpUpstreamAdapter.cs (1)
373_logger.LogError(
TerminalHostApp.cs (1)
158_logger.LogError("Replica recycle loop completed unexpectedly without cancellation; exiting non-zero.");
AzureSearch.ApiService (1)
Program.cs (1)
152logger.LogError("Failed to import the index data from {file}", hotelsJson);
dotnet-format (4)
CodeFormatter.cs (1)
98logger.LogError(Resources.Failed_to_save_formatting_changes);
Logging\ILoggerExtensions.cs (1)
28logger.LogError(formattedMessage);
Workspaces\MSBuildWorkspaceLoader.cs (2)
63logger.LogError(Resources.Could_not_format_0_Format_currently_supports_only_CSharp_and_Visual_Basic_projects, solutionOrProjectPath); 89logger.LogError(diagnostic.Message);
dotnet-watch (14)
CommandLine\CommandLineOptions.cs (2)
197logger.LogError(e.Message); 379logger.LogError(error.Message);
Program.cs (10)
126logger.LogError(Resources.The_specified_path_0_is_invalid_1, options.FilePath, e.Message); 146logger.LogError(Resources.Could_not_find_msbuild_project_file_in_0, projectPath); 195logger.LogError(Resources.The_specified_path_0_is_invalid_1, projectPath, e.Message); 209logger.LogError(Resources.The_specified_path_0_is_invalid_1, projectPath, e.Message); 215logger.LogError(Resources.Error_MultipleProjectsFound, projectPath); 223logger.LogError(Resources.Could_not_find_msbuild_project_file_in_0, projectPath); 238logger.LogError(Resources.Error_ProjectPath_NotFound, projectPath); 263logger.LogError("--list does not support file-based programs"); 285logger.LogError("File-based programs are only supported when Hot Reload is enabled"); 302logger.LogError("An unexpected error occurred: {Exception}", e.ToString());
Watch\DotNetWatcher.cs (1)
33context.Logger.LogError("Failed to find a list of files to watch");
Watch\MsBuildFileSetFactory.cs (1)
79logger.LogError("Error(s) finding watch items project file '{FileName}'.", Path.GetFileName(rootProjectFile));
Microsoft.AspNetCore.Authentication.Twitter (2)
TwitterHandler.cs (2)
304Logger.LogError("AccessToken request failed with a status code of " + response.StatusCode); 329Logger.LogError("Email request failed with a status code of " + response.StatusCode);
Microsoft.AspNetCore.Identity (2)
SignInManager.cs (2)
201Logger.LogError("RefreshSignInAsync prevented because the user is not currently authenticated. Use SignInAsync instead for initial sign in."); 209Logger.LogError("RefreshSignInAsync prevented because currently authenticated user has a different UserId. Use SignInAsync instead to change users.");
Microsoft.AspNetCore.Server.IISIntegration (1)
IISMiddleware.cs (1)
105_logger.LogError($"'{MSAspNetCoreToken}' does not match the expected pairing token '{_pairingToken}', request rejected.");
Microsoft.AspNetCore.Server.IntegrationTesting (4)
ApplicationPublisher.cs (2)
85logger.LogError(message); 92logger.LogError(message);
Deployers\SelfHostDeployer.cs (2)
181Logger.LogError("Error occurred while starting the process. Exception: {exception}", ex.ToString()); 186Logger.LogError("Host process {processName} {pid} exited with code {exitCode} or failed to start.", startInfo.FileName, HostProcess.Id, HostProcess.ExitCode);
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\KestrelServerImpl.cs (1)
212Trace.LogError(CoreStrings.DynamicPortOnMultipleTransportsNotSupported);
Microsoft.AspNetCore.SpaProxy (2)
SpaProxyLaunchManager.cs (2)
153_logger.LogError($"Couldn't start the SPA development server with command '{_options.LaunchCommand}'."); 160_logger.LogError($"Unable to connect to the SPA development server at '{_options.ServerUrl}'.");
Microsoft.AspNetCore.SpaServices.Extensions (1)
Npm\NodeScriptRunner.cs (1)
101logger.LogError(StripAnsiColors(line));
Microsoft.CodeAnalysis.Workspaces.MSBuild (2)
MSBuild\BuildHostProcessManager.cs (2)
579_logger.LogError("The BuildHost process is not responding. Process output:{newLine}{processLog}", Environment.NewLine, processLog); 581_logger.LogError("The BuildHost process exited with {errorCode}. Process output:{newLine}{processLog}", _process.ExitCode, Environment.NewLine, processLog);
Microsoft.DotNet.HotReload.Watch (28)
Aspire\AspireServiceFactory.cs (1)
194_logger.LogError("Unexpected error reading output of session '{SessionId}': {Exception}", sessionId, e);
Browser\BrowserLauncher.cs (1)
31logger.LogError("Test requires browser to launch");
Build\EvaluationResult.cs (2)
79logger.LogError("Failed to restore project '{Path}'.", failedInstance.FullPath); 110logger.LogError("Failed to build project '{Path}'.", failedInstance.FullPath);
Build\LoadedProjectGraph.cs (3)
41logger.LogError("Project '{ProjectPath}' not found in the project graph.", projectPath); 60logger.LogError("Project '{ProjectPath}' targets multiple frameworks. Specify which framework to run using '--framework'.", projectPath); 85logger.LogError("Project '{ProjectPath}' doesn't have a target for {TargetFramework}.", projectPath, targetFramework);
Build\ProjectGraphFactory.cs (3)
103logger.LogError(e.Message); 124logger.LogError("The project file could not be loaded. Could not find a part of the path '{Path}'.", projectPath); 138logger.LogError("{Path}({Line}): {Message}", path, line, message);
HotReload\HotReloadDotNetWatcher.cs (1)
1086_context.BuildLogger.LogError("Project '{Path}' does not specify a target framework.", rootProject.FullPath);
HotReload\RunningProjectsManager.cs (4)
197logger.LogError("Failed to launch '{ProjectPath}'. Process {PID} exited during initialization.", projectPath, launchResult.ProcessId); 232logger.LogError("Failed to handle runtime rude edit: {Exception}", e.ToString()); 289logger.LogError("Failed to relaunch: {Exception}", e.ToString()); 363logger.LogError("Failed to apply managedCodeUpdates: {Exception}", e.ToString());
Process\LaunchSettingsProfile.cs (1)
37logger.LogError(message);
Process\RunningProject.cs (1)
94ClientLogger.LogError("Failed to apply updates to process {Process}: {Exception}", process.Id, e.ToString());
src\sdk\src\Dotnet.Watch\HotReloadClient\DefaultHotReloadClient.cs (5)
61Logger.LogError("Expected initialization response, got: {ResponseType}", r.Type); 87Logger.LogError("Failed to read capabilities: {Message}", e.Message); 123Logger.LogError("Unexpected response received from the agent: {ResponseType}", r.Type); 132Logger.LogError("Failed to read response: {Exception}", e.ToString()); 302Logger.LogError("Failed to send {RequestType}: {Message}", nameof(RequestType.InitialUpdatesCompleted), e.Message);
src\sdk\src\Dotnet.Watch\HotReloadClient\HotReloadClients.cs (1)
204clients.First().Logger.LogError("Failed to read file {FilePath}: {Message}", asset.FilePath, e.Message);
src\sdk\src\Dotnet.Watch\HotReloadClient\Web\StaticWebAssetsManifest.cs (3)
122logger.LogError("Failed to read '{FilePath}': {Message}", path, e.Message); 147logger.LogError("Failed to parse '{FilePath}': {Message}", filePath, e.Message); 153logger.LogError("Failed to parse '{FilePath}'", filePath);
UI\BuildOutput.cs (2)
22logger.LogError(line); 28logger.LogError(line);
Microsoft.Extensions.Diagnostics.Testing.Tests (13)
Logging\FakeLogCollectorTests.cs (4)
66logger.LogError("Hello world!"); 108logger.LogError("Hello world!"); 147logger.LogError("Hello world!"); 179logger.LogError("Hello world!");
Logging\FakeLoggerExtensionsTests.cs (5)
27logger.LogError("M1"); 43logger.LogError("M1"); 47logger.LogError("M2"); 71logger.LogError("M1"); 75logger.LogError("M2");
Logging\FakeLoggerTests.cs (4)
28logger.LogError("World"); 212logger.LogError("M4"); 307logger.LogError(IgnoredMessage); 308logger.LogError(NotIgnoredMessage2);
Microsoft.Extensions.Telemetry.PerformanceTests (2)
ExtendedLoggerBench.cs (2)
122logger.LogError( 138logger.LogError(@"Range [{start}..{end}], options {options}, guid {guid}",
Microsoft.NET.Build.Containers (4)
LocalDaemons\ContainerRuntime.cs (1)
110_logger.LogError($"Cannot find {GetCommandsForCurrentPlatform()} executable.");
LocalDaemons\ContainerRuntimes.cs (1)
89Logger.LogError($"The daemon server reported errors: {messages}");
LocalDaemons\DockerCli.cs (2)
146_logger.LogError($"Cannot find {Commands} executable."); 170_logger.LogError($"The daemon server reported errors: {messages}");
Microsoft.TemplateEngine.Edge (9)
Installers\NuGet\NuGetInstaller.cs (4)
407_logger.LogError(string.Format(LocalizableStrings.NuGetInstaller_Error_FailedToReadPackage, installRequest.PackageIdentifier)); 414_logger.LogError(string.Format(LocalizableStrings.NuGetInstaller_Error_CopyFailed, installRequest.PackageIdentifier, targetPackageLocation)); 415_logger.LogError(string.Format(LocalizableStrings.NuGetInstaller_Error_FileAlreadyExists, targetPackageLocation)); 425_logger.LogError(string.Format(LocalizableStrings.NuGetInstaller_Error_CopyFailed, installRequest.PackageIdentifier, targetPackageLocation), null, 0);
Installers\NuGet\NuGetLogger.cs (1)
60_baseLogger.LogError(data);
Settings\TemplatePackageManager.cs (1)
110_logger.LogError(LocalizableStrings.TemplatePackageManager_Error_FailedToGetTemplatePackages, source.Key.Factory.DisplayName, ex.Message);
ValidationUtils.cs (3)
29logger.LogError(LocalizableStrings.Validation_InvalidTemplate, templateDisplayName); 56logger.LogError(LocalizableStrings.Validation_InvalidTemplate, templateDisplayName); 118IValidationEntry.SeverityLevel.Error => (s) => logger.LogError(s),
Microsoft.TemplateEngine.Orchestrator.RunnableProjects (10)
DirectoryBasedTemplate.cs (1)
118Logger.LogError("Failed to validate template: {ex}", ex.Message);
RunnableProjectGenerator.cs (9)
79settings.Host.Logger.LogError(LocalizableStrings.Authoring_TemplateNotInstalled_Message, configFile?.GetDisplayPath(), ex.Message); 84settings.Host.Logger.LogError(LocalizableStrings.Authoring_TemplateNotInstalled_Message, configFile?.GetDisplayPath(), ex.Message); 89settings.Host.Logger.LogError(LocalizableStrings.Authoring_TemplateNotInstalled_Message, configFile?.GetDisplayPath(), ex); 277logger.LogError(LocalizableStrings.Authoring_TemplateNotInstalled_Message, templateFileConfig.GetDisplayPath(), ex.Message); 282logger.LogError(LocalizableStrings.Authoring_TemplateNotInstalled_Message, templateFileConfig.GetDisplayPath(), ex.Message); 287logger.LogError(LocalizableStrings.Authoring_TemplateNotInstalled_Message, templateFileConfig.GetDisplayPath(), ex); 352logger.LogError(LocalizableStrings.Authoring_TemplateNotInstalled_Message, file.GetDisplayPath(), ex.Message); 357logger.LogError(LocalizableStrings.Authoring_TemplateNotInstalled_Message, file.GetDisplayPath(), ex.Message); 362logger.LogError(LocalizableStrings.Authoring_TemplateNotInstalled_Message, file.GetDisplayPath(), ex);