400 references to LogWarning
aspire (97)
Agents\AspireSkills\GitHubArtifactAttestationVerifier.cs (2)
88logger.LogWarning("Could not parse GitHub owner/repo from expected source repository: {ExpectedSourceRepository}", expectedSourceRepository); 109logger.LogWarning("Sigstore verification failed for GitHub artifact {ArtifactPath}: {FailureReason}", artifactPath, result?.FailureReason);
Agents\Playwright\PlaywrightCliInstaller.cs (4)
186logger.LogWarning( 203logger.LogWarning("Failed to download {PackageSpecifier}.", NpmPackageInfo.FormatPackageSpecifier(PackageName, packageInfo.Version)); 228logger.LogWarning( 248logger.LogWarning("Failed to install {PackageSpecifier} globally.", NpmPackageInfo.FormatPackageSpecifier(PackageName, packageInfo.Version));
Backchannel\AppHostCliBackchannel.cs (2)
297logger.LogWarning("Timed out waiting for backchannel reconnection"); 479logger.LogWarning("Timed out waiting for backchannel reconnection");
Backchannel\AppHostConnectionHelper.cs (1)
65logger.LogWarning("Selected AppHost at '{SelectedPath}' is no longer running, falling back to selection logic", selectedPath);
Backchannel\AuxiliaryBackchannelMonitor.cs (1)
598logger.LogWarning("Failed to add connection for socket {SocketPath}", socketPath);
Certificates\CertificateGeneration\CertificateManager.cs (27)
1221_logger.LogWarning("An error has occurred while running the trust command: {ExitCode}.", exitCode); 1233_logger.LogWarning("An error has occurred while running the remove trust command: {ExitCode}.", exitCode); 1249_logger.LogWarning("An error has occurred while running the remove trust command: {ExitCode}.", exitCode); 1369_logger.LogWarning("The on-disk store directory was not found."); 1381_logger.LogWarning("The NSS database '{NssDb}' provided via {EnvironmentVariable} does not exist.", nssDb, environmentVariable); 1385_logger.LogWarning("The certificate is not trusted by .NET. This will likely affect System.Net.Http.HttpClient."); 1389_logger.LogWarning("The certificate is not trusted by OpenSSL. Ensure that the {EnvVarName} environment variable is set correctly.", envVarName); 1393_logger.LogWarning("The certificate is not trusted in the NSS database in '{Path}'. This will likely affect the {Browser} family of browsers.", path, browser); 1429_logger.LogWarning("Failed to trust the certificate in .NET: {ExceptionMessage}.", exceptionMessage); 1437_logger.LogWarning("Clients that validate certificate trust using OpenSSL will not trust the certificate."); 1445_logger.LogWarning("Failed to trust the certificate in the NSS database in '{Path}'. This will likely affect the {Browser} family of browsers.", path, browser); 1453_logger.LogWarning("Failed to untrust the certificate in .NET: {ExceptionMessage}.", exceptionMessage); 1457_logger.LogWarning("Failed to untrust the certificate in OpenSSL."); 1465_logger.LogWarning("Failed to remove the certificate from the NSS database in '{Path}'.", path); 1473_logger.LogWarning("The certificate is only partially trusted - some clients will not accept it."); 1477_logger.LogWarning("Failed to look up the certificate in the NSS database in '{Path}': {ExceptionMessage}.", path, exceptionMessage); 1481_logger.LogWarning("Failed to add the certificate to the NSS database in '{Path}': {ExceptionMessage}.", path, exceptionMessage); 1485_logger.LogWarning("Failed to remove the certificate from the NSS database in '{Path}': {ExceptionMessage}.", path, exceptionMessage); 1489_logger.LogWarning("Failed to find the Firefox profiles in directory '{FirefoxDirectory}': {Message}.", firefoxDirectory, message); 1497_logger.LogWarning("Failed to trust the certificate in the NSS database in '{Path}'. This will likely affect the {Browser} family of browsers. This likely indicates that the database already contains an entry for the certificate under a different name. Please remove it and try again.", path, browser); 1501_logger.LogWarning("The {OpenSslCertDirectoryOverrideVariableName} environment variable is set but will not be consumed while checking trust.", openSslCertDirectoryOverrideVariableName); 1505_logger.LogWarning("The {OpenSslCommand} command is unavailable. It is required for updating certificate trust in OpenSSL.", openSslCommand); 1509_logger.LogWarning("The {CertUtilCommand} command is unavailable. It is required for querying and updating NSS databases, which are chiefly used to trust certificates in browsers.", certUtilCommand); 1517_logger.LogWarning("Failed to delete certificate file '{CertPath}': {ExceptionMessage}.", certPath, exceptionMessage); 1533_logger.LogWarning("Directory '{DirectoryPath}' may be readable by other users.", directoryPath); 1549_logger.LogWarning("Failed to trust the certificate in the Windows certificate store via WSL."); 1553_logger.LogWarning("Failed to trust the certificate in the Windows certificate store via WSL: {ExceptionMessage}.", exceptionMessage);
Commands\AgentMcpCommand.cs (1)
289_logger.LogWarning("Unknown tool requested: {ToolName}", toolName);
Commands\AppHostLauncher.cs (1)
744logger.LogWarning("Child CLI process exited with code {ExitCode}", exitCode);
Commands\BaseCommand.cs (1)
164services.LoggerFactory.CreateLogger<BaseCommand>().LogWarning("Termination signal forced process exit.");
Commands\DcpWorkloadCleanupService.cs (3)
30logger.LogWarning("Could not find DCP in the Aspire layout."); 37logger.LogWarning("Could not find DCP executable at '{DcpPath}'.", dcpPath); 59logger.LogWarning("DCP cleanup exited with code {ExitCode}.", exitCode);
Commands\InstallationInfoOutput.cs (1)
50logger.LogWarning("Aspire CLI installation discovery timed out after {TimeoutSeconds} seconds.", timeout.TotalSeconds);
Commands\Sdk\SdkGenerateCommand.cs (1)
178_logger.LogWarning("Skipping file with invalid path: {FileName}", fileName);
Commands\UpdateCommand.cs (1)
855_logger.LogWarning("Update failed, restoring backup");
Configuration\AspireConfigFile.cs (2)
277logger?.LogWarning( 286logger?.LogWarning(
ConsoleCancellationManager.cs (2)
305_logger.LogWarning("Second termination signal received, expiring graceful shutdown window."); 354_logger.LogWarning("Handler did not complete within {Timeout}s after graceful expiration, forcing termination.", _finalDrainBudget.TotalSeconds);
Documentation\ApiDocs\ApiDocsIndexService.cs (2)
377_logger.LogWarning("Failed to refresh Aspire API sitemap. Using cached index with {Count} items.", cachedItems.Length); 381_logger.LogWarning("Failed to fetch Aspire API sitemap");
Documentation\Docs\DocsIndexService.cs (2)
181_logger.LogWarning( 188_logger.LogWarning("Failed to fetch documentation");
DotNet\DotNetCliRunner.cs (2)
885logger.LogWarning( 894logger.LogWarning(
DotNet\ProcessExecution.cs (1)
625_logger.LogWarning("{FileName}({ProcessId}) stdout/stderr pumps did not drain within idle timeout after exit", _fileName, process.Id);
Mcp\Tools\ExecuteResourceCommandTool.cs (1)
89logger.LogWarning("No Aspire AppHost is currently running");
Mcp\Tools\ListConsoleLogsTool.cs (1)
70logger.LogWarning("No Aspire AppHost is currently running");
Mcp\Tools\ListResourcesTool.cs (1)
66logger.LogWarning("No Aspire AppHost is currently running");
Mcp\Tools\McpToolHelpers.cs (2)
23logger.LogWarning("No Aspire AppHost is currently running"); 30logger.LogWarning("Dashboard API is not available");
Npm\SigstoreNpmProvenanceChecker.cs (2)
254_logger.LogWarning("Could not parse GitHub owner/repo from expected source repository: {ExpectedSourceRepository}", expectedSourceRepository); 272_logger.LogWarning(
NuGet\BundleNuGetPackageCache.cs (1)
224_logger.LogWarning("NuGet search returned empty output");
Packaging\PackagingService.cs (3)
388_logger.LogWarning( 411_logger.LogWarning("Refusing to synthesize 'staging' package channel: {Reason}", unavailableReason); 438_logger.LogWarning(
Processes\LauncherLivenessMonitor.cs (1)
56logger.LogWarning(
Processes\ProcessTreeGracefulShutdownService.cs (3)
120logger.LogWarning("Process {Pid} did not stop gracefully within timeout. Forcing process to terminate.", process.Pid); 283logger.LogWarning("Could not find DCP executable in the Aspire layout."); 323logger.LogWarning("DCP stop-process-tree exited with code {ExitCode}.", exitCode);
Program.cs (1)
1066logger.LogWarning("Failed to resolve CLI channel: {Error}", channelError);
Projects\PrebuiltAppHostServer.cs (2)
1493_logger.LogWarning( 1544_logger.LogWarning("Project reference assembly names file not found at {Path}", filePath);
Projects\ProjectLocator.cs (9)
374logger.LogWarning("The .NET SDK is not available. Marking .NET projects as unsupported."); 585logger.LogWarning("Ignoring AppHost path '{AppHostPath}' from settings because no project handler can process it.", settingsAppHost.FullName); 651logger.LogWarning("Ignoring AppHost path '{AppHostPath}' from settings because no project handler can process it.", settingsAppHost.FullName); 664logger.LogWarning("Ignoring AppHost path '{AppHostPath}' from settings because it is not supported in the current environment{MessageSuffix}.", settingsAppHost.FullName, messageSuffix); 672logger.LogWarning("AppHost path '{AppHostPath}' from settings could not be evaluated by MSBuild and may not be buildable{MessageSuffix}.", settingsAppHost.FullName, messageSuffix); 677logger.LogWarning("Ignoring AppHost path '{AppHostPath}' from settings because it is no longer a valid AppHost project{MessageSuffix}.", settingsAppHost.FullName, messageSuffix); 823logger.LogWarning("Ignoring AppHost settings in '{ConfigFilePath}' because the configuration root is not a JSON object.", configFilePath); 836logger.LogWarning("Ignoring configured AppHost path in '{ConfigFilePath}' ('{FieldName}') because it is not a JSON string.", configFilePath, fieldName); 868logger.LogWarning("Ignoring configured AppHost path in '{ConfigFilePath}' ('{FieldName}') because it is empty or contains invalid characters.", configFilePath, fieldName);
Projects\ProjectUpdater.cs (3)
346logger.LogWarning("Falling back to parsing for '{ProjectFile}'. Reason: {Message}", projectFile.FullName, ex.Message); 351logger.LogWarning("Update plan will be generated using fallback parsing; dependency accuracy may be reduced."); 398logger.LogWarning(UpdateCommandStrings.PackageNotFoundInChannelWarningFormat, packageId, context.Channel.Name);
Projects\RunningInstanceManager.cs (3)
60_logger.LogWarning("Failed to get AppHost information from running instance"); 77_logger.LogWarning("Failed to stop running instance within timeout"); 103_logger.LogWarning("Failed to get AppHost information from running instance");
Scaffolding\PackageJsonMerger.cs (1)
357logger.LogWarning(
Scaffolding\ScaffoldingService.cs (2)
172_logger.LogWarning( 655logger?.LogWarning(
src\Shared\ProcessSignaler.cs (1)
191logger.LogWarning("Could not gracefully stop Aspire application host process {Pid}; the error code from signal send operation was {ErrorCode}", pid, errno);
Telemetry\UnixMachineInformationProvider.cs (1)
49_logger.LogWarning("Unable to persist deviceId.");
Utils\EnvironmentChecker\EnvironmentChecker.cs (2)
88_logger.LogWarning( 102_logger.LogWarning(
Aspire.Cli.Tests (1)
Interaction\SpectreConsoleLoggerProviderTests.cs (1)
56logger.LogWarning("Test warning message");
Aspire.Confluent.Kafka (4)
AspireKafkaConsumerExtensions.cs (2)
218logger.LogWarning("LogHandler is already set. Skipping... No logs will be written."); 242logger.LogWarning("StatisticsHandler is already set. Skipping... No metrics will be exposed.");
AspireKafkaProducerExtensions.cs (2)
218logger.LogWarning("LogHandler is already set. Skipping... No logs will be written."); 243logger.LogWarning("StatisticsHandler is already set. Skipping... No metrics will be exposed.");
Aspire.Dashboard (22)
Components\Interactions\InteractionsProvider.cs (2)
290Logger.LogWarning("Unexpected interaction kind: {Kind}", item.KindCase); 472Logger.LogWarning("Unexpected interaction kind: {Kind}", item.KindCase);
Components\Pages\ComponentTelemetryContext.cs (1)
100logger.LogWarning("Telemetry service for '{ComponentType}' is not initialized. Cannot post properties.", _componentId);
Components\Pages\ConsoleLogs.razor.cs (2)
841Logger.LogWarning("No resource selected for command execution."); 924Logger.LogWarning("Failed to add subscription for resource {ResourceName} - may already exist.", resourceName);
Components\Pages\Login.razor.cs (1)
107Logger.LogWarning("Unexpected result from validateToken: {Result}", result);
DashboardWebApplication.cs (4)
450_logger.LogWarning("OTLP server is unsecured. Untrusted apps can send telemetry to the dashboard. For more information, visit https://go.microsoft.com/fwlink/?linkid=2267030"); 460_logger.LogWarning("Dashboard API is unsecured. Untrusted apps can access sensitive telemetry data."); 562_logger.LogWarning("Rejecting Blazor WebSocket upgrade with disallowed Origin '{Origin}'.", originLogValue); 740logger.LogWarning(
Model\BrowserTimeProvider.cs (1)
38_logger.LogWarning("Couldn't find time zone '{TimeZone}'. Defaulting to UTC.", timeZone);
Model\IconResolver.cs (1)
72_logger.LogWarning("Icon '{IconName}' (variant: {IconVariant}, size: {IconSize}) could not be resolved.", key.IconName, key.IconVariant, key.DesiredIconSize);
Model\Otlp\ResourcesSelectHelpers.cs (1)
67logger.LogWarning(
Model\TelemetryImportService.cs (3)
122_logger.LogWarning("Empty JSON file: {FileName}", fileName); 139_logger.LogWarning("Could not deserialize telemetry data from file: {FileName}", fileName); 168_logger.LogWarning("No telemetry data found in file: {FileName}", fileName);
ServiceClient\DashboardClient.cs (1)
706_logger.LogWarning("Server does not support interactions.");
ServiceClient\DashboardDataSource.cs (2)
88_logger.LogWarning("Failed to switch to dashboard run '{RunId}' because it is no longer available.", runId); 116_logger.LogWarning("Failed to switch to dashboard run '{RunId}' because it is no longer available.", selectedRun.RunId);
ServiceClient\Partials.cs (1)
182logger.LogWarning("Duplicate property '{PropertyName}' found in resource '{ResourceName}'.", propertyViewModel.Name, Name);
Telemetry\DashboardTelemetrySender.cs (1)
67_logger.LogWarning("Unset context property in request {Name}.", context.Name);
Terminal\TerminalWebSocketProxy.cs (1)
121logger.LogWarning(
Aspire.Hosting (49)
ApplicationModel\CommandsConfigurationExtensions.cs (2)
419logger.LogWarning(BuildLogPrefix + "{Message}", message); 440targetLogger.LogWarning(BuildLogPrefix + "{Content}", line.Content);
ApplicationModel\Docker\ContainerFilesExtensions.cs (2)
38logger?.LogWarning("Cannot get container image name for source resource {SourceName}, skipping", source.Name); 97logger?.LogWarning("Cannot get container image name for source resource {SourceName}, skipping", source.Name);
ApplicationModel\LogFacade.cs (1)
46_loggerAccessor().LogWarning(message);
ApplicationModel\RequiredCommandValidator.cs (2)
71_logger.LogWarning("Resource '{ResourceName}' may fail to start: {Message}", resource.Name, state.ErrorMessage); 118_logger.LogWarning("{Message}", string.Format(CultureInfo.CurrentCulture, MessageStrings.ResourceMayFailToStart, resource.Name, message));
Ats\LoggingExports.cs (1)
43logger.LogWarning("{Message}", message);
Backchannel\AuxiliaryBackchannelRpcTarget.cs (2)
1608logger.LogWarning("Resource '{ResourceName}' not found. No logs will be returned.", resourceName); 1875logger.LogWarning("IHostApplicationLifetime not found, cannot stop AppHost");
Backchannel\DashboardUrlsHelper.cs (1)
81logger.LogWarning("Dashboard options not found.");
BuiltInDistributedApplicationEventSubscriptionHandlers.cs (1)
103logger.LogWarning(MessageStrings.PersistentContainerWithoutUserSecrets, resource.Name);
Dashboard\DashboardServiceHost.cs (1)
253_logger.LogWarning("Unexpectedly long wait for resource service URI ({Elapsed}).", elapsed);
Dcp\ContainerCreator.cs (2)
380logger.LogWarning( 433resourceLogger.LogWarning("Host endpoint '{EndpointName}' on resource '{HostResource}' is referenced by a container resource, but the endpoint is using a network protocol '{Protocol}' other than TCP. Only TCP is supported for container-to-host references.", endpoint.Name, re.Resource.Name, endpoint.Protocol);
Dcp\DcpDependencyCheck.cs (2)
238logger.LogWarning("Container runtime '{Runtime}' could not be found. See https://aka.ms/aspire/containers for more details on supported container runtimes.", containerRuntime); 257logger.LogWarning(logMessage, containerRuntime);
Dcp\DcpExecutor.cs (3)
508_distributedApplicationLogger.LogWarning("Unable to allocate a network port for service '{ServiceName}'; service may be unreachable and its clients may not work properly.", sar.Metadata.Name); 696_logger.LogWarning("Encountered the same service-endpoint combination more than once for {EndpointName} on resource {ResourceName} when creating default endpoint services. This should never happen.", endpoint.Name, sp.ModelResource.Name); 876_logger.LogWarning("Failed to persist public port {Port} for proxyless endpoint '{EndpointName}' on persistent resource '{ResourceName}'. Enable user secrets, set a fixed public port, or configure the endpoint to use a proxy to avoid recreating the persistent resource each run.", publicPort, endpoint.Name, resource.Name);
Dcp\DcpHost.cs (4)
154_logger.LogWarning("No trusted Aspire development certificate was found. See https://aka.ms/aspire/devcerts for more information."); 160_logger.LogWarning("The most recent development certificate isn't fully trusted. See https://aka.ms/aspire/devcerts for more information."); 222_logger.LogWarning("Failed to read the developer certificate thumbprint. DCP will use its default certificate."); 246_logger.LogWarning("Failed to cache the developer certificate files. DCP will use its default certificate.");
Dcp\ExecutableCreator.cs (1)
315logger.LogWarning(
Dcp\ResourceLogSource.cs (1)
87logger.LogWarning("Failed to write log entry to channel. Logs for {Kind} {Name} may be incomplete", resource.Kind, resource.Metadata.Name);
Devcontainers\DevcontainerSettingsWriter.cs (1)
265logger.LogWarning("Race condition detected when creating Devcontainer settings file: {Path}", path);
DeveloperCertificateService.cs (1)
85logger.LogWarning("Failed to load developer certificates from the CurrentUser/My certificate store. Automatic trust of development certificates will not be available. Reason: {Message}", ex.Message);
DistributedApplication.cs (1)
639logger.LogWarning("{EventName} is obsolete and is no longer raised by the DCP executor. Use {ResourceEventName} to observe per-resource endpoint allocation.", nameof(AfterEndpointsAllocatedEvent), nameof(ResourceEndpointsAllocatedEvent));
DistributedApplicationLifecycle.cs (1)
59logger.LogWarning(localOverrideError);
Lifecycle\TerminalHostEventingSubscriber.cs (2)
73_logger.LogWarning( 81_logger.LogWarning(
Lifecycle\TerminalHostOrphanCleanupService.cs (7)
151_logger.LogWarning( 182logger?.LogWarning( 288logger.LogWarning( 302logger.LogWarning( 326logger.LogWarning( 358logger.LogWarning( 412logger.LogWarning(
Orchestrator\ParameterProcessor.cs (1)
179.LogWarning("Parameter resource {ResourceName} could not be initialized. Waiting for user input.", parameterResource.Name);
Pipelines\Internal\FileDeploymentStateManager.cs (1)
324logger.LogWarning("Cannot save deployment state: AppHostSha is not configured");
Pipelines\PipelineActivityReporter.cs (1)
430_logger.LogWarning("Unable to match answer with name '{InputName}' to an input.", responseAnswer.Name);
ProjectResourceBuilderExtensions.cs (1)
571logger.LogWarning("Certificate trust scope is set to '{Scope}', but the feature is not supported for .NET projects on Windows. No certificate trust customization will be applied. Set the certificate trust scope to 'None' to disable this warning.", Enum.GetName(ctx.Scope));
Publishing\ContainerRuntimeResolver.cs (2)
87_logger.LogWarning("Container runtime '{RuntimeName}' is installed but not running. {Error}", detected.Name, detected.Error); 91_logger.LogWarning("No container runtime detected, defaulting to '{DefaultRuntime}'. Install Docker or Podman to use container features.", KnownContainerRuntimes.Docker);
ResourceBuilderExtensions.cs (2)
2195context.Logger.LogWarning("Could not execute callback to customize endpoint URL as no endpoint with name '{EndpointName}' could be found on resource '{ResourceName}'.", endpointName, builder.Resource.Name); 2243context.Logger.LogWarning("Could not execute callback to add an endpoint URL as no endpoint with name '{EndpointName}' could be found on resource '{ResourceName}'.", endpointName, builder.Resource.Name);
src\Shared\ProcessSignaler.cs (1)
191logger.LogWarning("Could not gracefully stop Aspire application host process {Pid}; the error code from signal send operation was {ErrorCode}", pid, errno);
VersionChecking\VersionCheckService.cs (1)
178_logger.LogWarning("Could not ignore the version update notification to {Version} because user secrets are not configured correctly. See https://aka.ms/aspire/user-secrets for more information.", latestVersion);
Aspire.Hosting.Azure (3)
AzureProvisioningController.cs (2)
2214_logger.LogWarning("Azure drift detected for resources: {ResourceNames}.", string.Join(", ", driftedResources)); 3947resourceLogger.LogWarning("Cached Azure deployment state for {resourceName} points to a missing Azure resource. Reprovisioning.", resource.AzureResource.Name);
Provisioning\Provisioners\BicepProvisioner.cs (1)
1310resourceLogger.LogWarning("Failed to cancel Azure deployment {DeploymentName}: {Message}", deploymentName, ex.Message);
Aspire.Hosting.Azure.AppContainers (1)
ContainerAppContext.cs (1)
248_containerAppEnvironmentContext.Logger.LogWarning("More than 5 additional ports are not supported. See https://learn.microsoft.com/azure/container-apps/ingress-overview#tcp for more details.");
Aspire.Hosting.Azure.Kubernetes (1)
AzureKubernetesEnvironmentResource.AksPipeline.cs (1)
532context.Logger.LogWarning(
Aspire.Hosting.Azure.Sandboxes (1)
Internal\Adc\AzureDevComputeClient.cs (1)
338logger.LogWarning(
Aspire.Hosting.Blazor (2)
BlazorGatewayExtensions.cs (1)
344context.Logger.LogWarning(
BlazorHostedExtensions.cs (1)
147context.Logger.LogWarning(
Aspire.Hosting.Browsers (3)
BrowserConnectionDiagnosticsLogger.cs (2)
21_resourceLogger.LogWarning("[{SessionId}] Tracked browser debug connection lost: {Reason}. Attempting to reconnect.", _sessionId, DescribeConnectionProblem(exception)); 26_resourceLogger.LogWarning("[{SessionId}] Reconnect attempt {Attempt} failed: {Reason}", _sessionId, attempt, DescribeConnectionProblem(exception));
BrowserLogsEventLogger.cs (1)
250_resourceLogger.LogWarning("{Message}", sessionMessage);
Aspire.Hosting.Browsers.Tests (3)
src\Aspire.Hosting.Browsers\BrowserConnectionDiagnosticsLogger.cs (2)
21_resourceLogger.LogWarning("[{SessionId}] Tracked browser debug connection lost: {Reason}. Attempting to reconnect.", _sessionId, DescribeConnectionProblem(exception)); 26_resourceLogger.LogWarning("[{SessionId}] Reconnect attempt {Attempt} failed: {Reason}", _sessionId, attempt, DescribeConnectionProblem(exception));
src\Aspire.Hosting.Browsers\BrowserLogsEventLogger.cs (1)
250_resourceLogger.LogWarning("{Message}", sessionMessage);
Aspire.Hosting.DevTunnels (1)
DevTunnelLoginManager.cs (1)
48_logger.LogWarning($"Invalid {PreferredAuthProviderKey} value '{{PreferredProvider}}', defaulting to {{SelectedProvider}}", preferredProvider, selectedProvider);
Aspire.Hosting.EntityFrameworkCore (3)
EFResourceBuilderExtensions.cs (3)
884logger.LogWarning("EF Core {Operation} command was cancelled.", operationDisplayName); 943logger.LogWarning("Migration '{MigrationName}' was added successfully. The target project needs to be recompiled before the migration can be applied.", migrationName); 985logger.LogWarning("The last migration was removed successfully. The target project needs to be recompiled.");
Aspire.Hosting.Foundry (6)
HostedAgent\AzureHostedAgentResource.cs (3)
244context.Logger.LogWarning("Hosted agent '{Name}' version '{Version}' did not return an instance identity. The agent may not be able to access Foundry project storage.", Name, version.Version); 251context.Logger.LogWarning("Could not resolve the Microsoft Foundry resource ID for hosted agent '{Name}'. The agent identity '{PrincipalId}' may need the Foundry User role assigned manually.", Name, principalId); 354logger.LogWarning("Environment variable '{Key}' for resource '{Name}' has unknown value of type '{type}' and will be skipped.", key, resource.Name, value.GetType().FullName);
PromptAgent\AzurePromptAgentResource.cs (1)
351var version = await DeployAsync(Project, context, message => logger.LogWarning("{Message}", message), cancellationToken).ConfigureAwait(false);
Toolbox\FoundryToolboxResource.cs (2)
80message => stepContext.Logger.LogWarning("{Message}", message), 352message => logger.LogWarning("{Message}", message),
Aspire.Hosting.JavaScript (1)
JavaScriptHostingExtensions.cs (1)
2115resourceLogger.LogWarning("Could not find a node_modules directory in or above '{AppDirectory}' for resource '{ResourceName}'. Automatic HTTPS configuration won't be available. Ensure packages are installed before starting the app.", appDirectory, resource.Name);
Aspire.Hosting.Kubernetes (13)
CertManagerExtensions.cs (2)
549context.Logger.LogWarning( 645logger.LogWarning(
KubernetesEnvironmentResource.cs (11)
733logger.LogWarning( 908logger.LogWarning("Ingress '{IngressName}' produced no valid rules or default backend. Skipping.", ingressResource.Name); 936logger.LogWarning( 945logger.LogWarning( 974logger.LogWarning( 1245logger.LogWarning( 1254logger.LogWarning( 1464context.Logger.LogWarning( 1515context.Logger.LogWarning( 1620context.Logger.LogWarning("Failed to create bootstrap TLS secret '{SecretName}' (exit code {ExitCode}).", secretName, createExitResult.ExitCode); 2257context.Logger.LogWarning("Failed to create bootstrap TLS secret '{SecretName}' (exit code {ExitCode}).", secretName, createExitResult.ExitCode);
Aspire.Hosting.Maui (1)
Lifecycle\MauiBuildQueueEventSubscriber.cs (1)
169logger.LogWarning("No build info annotation found for resource '{ResourceName}'. Startup cannot proceed.", resource.Name);
Aspire.Hosting.Radius (13)
Publishing\BicepPostProcessor.cs (1)
404logger.LogWarning(
Publishing\RadCredentialRegisterStep.cs (2)
291logger.LogWarning("rad (stderr): {Error}", redacted); 312logger.LogWarning("Cancellation requested — terminating rad credential register process.");
Publishing\RadiusDeploymentPipelineStep.cs (2)
184logger.LogWarning("rad (stderr): {Error}", e.Data); 201logger.LogWarning("Cancellation requested — terminating rad deploy process for environment '{EnvironmentName}'", _environment.Name);
Publishing\RadiusInfrastructureBuilder.cs (5)
831_logger.LogWarning( 887_logger.LogWarning( 1410_logger.LogWarning( 1419_logger.LogWarning( 1906_logger.LogWarning(
Publishing\SealedSecretApplyStep.cs (2)
923logger?.LogWarning("kubectl (stderr): {Error}", e.Data); 963logger?.LogWarning("Cancellation requested — terminating kubectl process.");
ResourceMapping\ResourceTypeMapper.cs (1)
157_logger.LogWarning(
Aspire.Hosting.RemoteHost (9)
AssemblyLoader.cs (1)
388logger.LogWarning(
Ats\CapabilityDispatcher.cs (1)
136_logger.LogWarning("{Message} at {Location}", diagnostic.Message, diagnostic.Location);
AtsContextFactory.cs (1)
74logger.LogWarning("[ATS] {Message} at {Location}", diagnostic.Message, diagnostic.Location);
CodeGeneration\CodeGeneratorResolver.cs (1)
138_logger.LogWarning(
Language\LanguageSupportResolver.cs (1)
123_logger.LogWarning(
OrphanDetector.cs (1)
87_logger.LogWarning("Parent process {ParentPid} is no longer running, shutting down...", pid);
RemoteAppHostService.cs (3)
65_logger.LogWarning("Rejected unauthenticated AppHost RPC client."); 135_logger.LogWarning(" invokeCapability({CapabilityId}) CapabilityException: {Code} - {Message}", capabilityId, ex.Error.Code, ex.Error.Message); 138_logger.LogWarning(" Details: param={Parameter}, expected={Expected}, actual={Actual}", ex.Error.Details.Parameter, ex.Error.Details.Expected, ex.Error.Details.Actual);
Aspire.Hosting.Testing.Tests (1)
ResourceLoggerForwarderServiceTests.cs (1)
118resourceLogger.LogWarning("Test warning message");
Aspire.Hosting.Tests (2)
Backchannel\BackchannelLoggerProviderTests.cs (1)
17logger.LogWarning("Message 2");
Pipelines\DistributedApplicationPipelineTests.cs (1)
1374logger.LogWarning($"Warning message");
Aspire.TerminalHost (1)
TerminalHostControlListener.cs (1)
176_logger.LogWarning(
BasketService (1)
BasketService.cs (1)
65_logger.LogWarning("RabbitMQ is unavailable. Ensure you have configured it in AppHosts's config / user secrets under 'ConnectionStrings:messaging'.");
blazor-devserver (1)
Server\Startup.cs (1)
33logger.LogWarning("Microsoft.AspNetCore.Components.WebAssembly.DevServer is deprecated and will be removed in a future release. Use Microsoft.AspNetCore.Components.Gateway instead.");
BlazorHosted.ClientServiceDefaults (1)
BackgroundExportHandler.cs (1)
46logger.LogWarning(
BlazorStandalone.ClientServiceDefaults (1)
BackgroundExportHandler.cs (1)
50logger.LogWarning(
dotnet-format (11)
Analyzers\AnalyzerFormatter.cs (1)
226logger.LogWarning(Resources.Unable_to_fix_0_No_associated_code_fix_found, diagnosticId);
Analyzers\AnalyzerRunner.cs (1)
50logger.LogWarning(Resources.Required_references_did_not_load_for_0_or_referenced_project_Run_dotnet_restore_prior_to_formatting, project.Name);
Analyzers\SolutionCodeFixApplier.cs (4)
27logger.LogWarning(Resources.Unable_to_fix_0_Code_fix_1_doesnt_support_Fix_All_in_Solution, diagnosticId, codeFix.GetType().Name); 73logger.LogWarning(Resources.Unable_to_fix_0_Code_fix_1_didnt_return_a_Fix_All_action, diagnosticId, codeFix.GetType().Name); 81logger.LogWarning(Resources.Unable_to_fix_0_Code_fix_1_returned_an_unexpected_operation, diagnosticId, codeFix.GetType().Name); 89logger.LogWarning(Resources.Failed_to_apply_code_fix_0_for_1_2, codeFix.GetType().Name, diagnosticId, ex.Message);
CodeFormatter.cs (1)
202logger.LogWarning(Resources.Could_not_format_0_Format_currently_supports_only_CSharp_and_Visual_Basic_projects, project.FilePath);
Formatters\OrganizeImportsFormatter.cs (1)
58logger.LogWarning(Resources.Unable_to_organize_imports_for_0_The_document_is_too_complex, Path.GetFileName(document.FilePath));
Logging\ILoggerExtensions.cs (1)
32logger.LogWarning(formattedMessage);
Workspaces\MSBuildWorkspaceLoader.cs (2)
79logger.LogWarning(Resources.Warnings_were_encountered_while_loading_the_workspace_Set_the_verbosity_option_to_the_diagnostic_level_to_log_warnings); 93logger.LogWarning(diagnostic.Message);
dotnet-watch (1)
CommandLine\CommandLineOptions.cs (1)
116logger.LogWarning(Resources.Warning_ProjectAbbreviationDeprecated);
Microsoft.AspNetCore.Authentication.Negotiate (2)
Internal\LdapAdapter.cs (2)
84logger.LogWarning($"More than one response received for query: {filter} with distinguished name: {distinguishedName}"); 122logger.LogWarning($"No response received for query: {filter} with distinguished name: {distinguishedName}");
Microsoft.AspNetCore.Hosting (1)
WebHostBuilder.cs (1)
186logger.LogWarning($"The assembly {assemblyName} was specified multiple times. Hosting startup assemblies should only be specified once.");
Microsoft.AspNetCore.Identity.UI (2)
Areas\Identity\Pages\V4\Account\LoginWithRecoveryCode.cshtml.cs (1)
120_logger.LogWarning("User account locked out.");
Areas\Identity\Pages\V5\Account\LoginWithRecoveryCode.cshtml.cs (1)
120_logger.LogWarning("User account locked out.");
Microsoft.AspNetCore.InternalTesting (4)
AssemblyTestLog.cs (4)
125_globalLogger.LogWarning($"Test name {testName} is too long. Please shorten test name."); 137_globalLogger.LogWarning($"To prevent long paths test name was shortened to {testName}."); 144_globalLogger.LogWarning($"Output log file {testOutputFile} already exists. Please try to keep log file names unique."); 152_globalLogger.LogWarning($"To resolve log file collision, the enumerated file {testOutputFile} will be used.");
Microsoft.AspNetCore.Server.IIS (2)
Core\IISHttpContext.FeatureCollection.cs (1)
462_logger.LogWarning(CoreStrings.MaxRequestLimitWarning);
Core\IISHttpServer.cs (1)
90_logger.LogWarning(CoreStrings.MaxRequestLimitWarning);
Microsoft.AspNetCore.Server.IntegrationTesting (10)
Common\ProcessLoggingExtensions.cs (1)
25logger.LogWarning($"{prefix} stderr: {{line}}", dataArgs.Data);
Common\RetryHelper.cs (3)
35logger.LogWarning("Retry count {retryCount}..", retry + 1); 41logger.LogWarning("Retrying a service unavailable error."); 58logger.LogWarning("Failed to complete the request : {0}.", exception.Message);
Deployers\ApplicationDeployer.cs (4)
88Logger.LogWarning( 125Logger.LogWarning("Unable to terminate the host process with process Id '{processId}", hostProcess.Id); 134Logger.LogWarning("Host process already exited or never started successfully."); 158Logger.LogWarning("User cleanup code failed with exception : {exception}", exception.Message);
Deployers\NginxDeployer.cs (1)
182Logger.LogWarning("Unable to find nginx PID file: {pidFile}", pidFile);
PublishedApplication.cs (1)
24e => _logger.LogWarning($"Failed to delete directory : {e.Message}"),
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\AddressBinder.cs (1)
221context.Logger.LogWarning(CoreStrings.OverridingWithKestrelOptions, string.Join(", ", _originalAddresses));
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls (6)
Connection\DirectTlsConnectionListener.cs (1)
221_logger.LogWarning(
TlsEventPump.cs (5)
291_logger.LogWarning("epoll_ctl MOD failed for handshaking fd={Fd}: errno={Errno}", fd, Marshal.GetLastWin32Error()); 343_logger.LogWarning("epoll_ctl MOD failed for fd={Fd}: errno={Errno}", fd, Marshal.GetLastWin32Error()); 996_logger.LogWarning("fd={Fd}: handshake completed before the pump was initialized; dropping.", fd); 1074_logger.LogWarning("epoll_ctl ADD failed for handshaking fd={Fd}: errno={Errno}", fd, Marshal.GetLastWin32Error()); 1375_logger.LogWarning("Pump {Id} did not finish (a TLS certificate, validation, or ClientHello callback may be blocking); deferring resource release to avoid a use-after-free.", _id);
Microsoft.AspNetCore.SpaProxy (2)
SpaProxyLaunchManager.cs (2)
251_logger.LogWarning($"The SPA process shutdown script '{stopProcess?.Id}' failed to start. The SPA proxy might" + 311_logger.LogWarning($"The SPA process shutdown script '{stopProcess?.Id}' failed to start. The SPA proxy might" +
Microsoft.CodeAnalysis.ExternalAccess.HotReload (1)
Api\HotReloadMSBuildWorkspace.cs (1)
41logger.LogWarning($"msbuild: {args.Diagnostic}");
Microsoft.CodeAnalysis.Workspaces.MSBuild (2)
MSBuild\BuildHostProcessManager.cs (2)
74_logger?.LogWarning($"An installation of Mono MSBuild could not be found; {projectOrSolutionFilePath} will be loaded with the .NET Core SDK and may encounter errors."); 88_logger?.LogWarning($"An installation of Visual Studio or the Build Tools for Visual Studio could not be found; {projectOrSolutionFilePath} will be loaded with the .NET Core SDK and may encounter errors.");
Microsoft.Diagnostics.NETCore.Client (1)
DiagnosticsServerRouter\DiagnosticsServerRouterFactory.cs (1)
1434_logger?.LogWarning($"Failed to retrieve runtime process info, fallback to current process information, pid={_runtimeProcessId}, cookie={_runtimeInstanceId}.");
Microsoft.DotNet.HotReload.Watch (17)
Browser\BrowserLauncher.cs (1)
103logger.LogWarning("Unable to launch the browser. Url '{Url}'.", launchUrl);
Build\LoadedProjectGraph.cs (1)
75logger.LogWarning("Project '{ProjectPath}' has multiple instances targeting {TargetFramework}.", projectPath, targetFramework);
Build\ProjectGraphFactory.cs (1)
107logger.LogWarning(e.Message);
FileWatcher\FileWatcher.cs (1)
158logger.LogWarning("The file watcher observing '{WatchedDirectory}' encountered an error: {Message}", watcher.WatchedDirectory, error.Message);
HotReload\ProjectUpdatesBuilder.StaticWebAssets.cs (1)
78Logger.LogWarning("[{ProjectName}] Failed to regenerate scoped CSS bundle.", failedInstance.GetDisplayName());
HotReload\RunningProjectsManager.cs (1)
211logger.LogWarning(rudeEditMessage);
Process\LaunchSettingsProfile.cs (3)
41logger.LogWarning(message); 75logger.LogWarning("Unable to find launch profile with name '{ProfileName}'. Falling back to default profile.", launchProfileName); 83logger.LogWarning("Note: Launch profile names are case-sensitive. Did you mean '{ProfileName}'?", caseInsensitiveNamedProfile);
src\sdk\src\Dotnet.Watch\HotReloadClient\DefaultHotReloadClient.cs (1)
198Logger.LogWarning("Further changes won't be applied to this process.");
src\sdk\src\Dotnet.Watch\HotReloadClient\Web\StaticWebAssetsManifest.cs (4)
168logger.LogWarning("Failed to parse '{FilePath}': ContentRoots path not fully qualified: {Root}", filePath, root); 196logger.LogWarning("Failed to parse '{FilePath}': Asset has no URL", filePath); 209logger.LogWarning("Failed to parse '{FilePath}': Missing Asset", filePath); 227logger.LogWarning("Failed to parse '{FilePath}': Invalid value of ContentRootIndex: {Value}", filePath, index);
src\sdk\src\Dotnet.Watch\HotReloadClient\WebSocketClientTransport.cs (2)
130logger.LogWarning("WebSocket connection rejected: missing subprotocol (shared secret)"); 142logger.LogWarning("WebSocket connection rejected: invalid shared secret - {Message}", ex.Message);
UI\BuildOutput.cs (1)
32logger.LogWarning(line);
Microsoft.Extensions.AI.Evaluation.Console (1)
Telemetry\TelemetryConstants.cs (1)
156logger.LogWarning("Could not determine sentinel file path.");
Microsoft.Extensions.Diagnostics.Testing.Tests (5)
Logging\FakeLogCollectorTests.cs (4)
63logger.LogWarning("Hello world!"); 105logger.LogWarning("Hello world!"); 144logger.LogWarning("Hello world!"); 176logger.LogWarning("Hello world!");
Logging\FakeLoggerTests.cs (1)
211logger.LogWarning("M3");
Microsoft.Extensions.Hosting.Testing.Tests (1)
HostingFakesExtensionsTests.cs (1)
322logger.LogWarning(message);
Microsoft.Extensions.Telemetry.Tests (17)
Logging\ExtendedLoggerFactoryTests.cs (2)
92logger1.LogWarning("MSG0"); 93logger2.LogWarning("MSG1");
Logging\ExtendedLoggerTests.cs (15)
63logger.LogWarning("MSG0"); 148logger.LogWarning("MSG0"); 185logger.LogWarning("MSG0"); 940logger.LogWarning("MSG0"); 972logger.LogWarning("MSG0"); 1013logger.LogWarning("MSG0"); 1014logger.LogWarning("MSG1"); 1015logger.LogWarning("MSG2"); 1016logger.LogWarning("MSG3"); 1017logger.LogWarning("MSG4"); 1018logger.LogWarning("MSG5"); 1019logger.LogWarning("MSG6"); 1020logger.LogWarning("MSG7"); 1021logger.LogWarning("MSG8"); 1022logger.LogWarning("MSG9");
Microsoft.Maui (1)
Hosting\Dispatching\AppHostBuilderExtensions.cs (1)
65 services.CreateLogger<Dispatcher>()?.LogWarning("Replaced an existing DispatcherProvider with one from the service provider.");
Microsoft.Maui.Controls (34)
BindableObject.cs (7)
89 Application.Current?.FindMauiContext()?.CreateLogger<BindableObject>()?.LogWarning($"Cannot set the BindableProperty \"{property.PropertyName}\" because it is readonly."); 103 Application.Current?.FindMauiContext()?.CreateLogger<BindableObject>()?.LogWarning($"Cannot set the BindableProperty \"{property.PropertyName}\" because it is readonly."); 298 Application.Current?.FindMauiContext()?.CreateLogger<BindableObject>()?.LogWarning($"Cannot set the a OneWay Binding \"{targetProperty.PropertyName}\" because it is readonly."); 493 Application.Current?.FindMauiContext()?.CreateLogger<BindableObject>()?.LogWarning($"Cannot set the BindableProperty \"{property.PropertyName}\" because it is readonly."); 521 Application.Current?.FindMauiContext()?.CreateLogger<BindableObject>()?.LogWarning($"Cannot set the BindableProperty \"{property.PropertyName}\" because it is readonly."); 562 Application.Current?.FindMauiContext()?.CreateLogger<BindableObject>()?.LogWarning($"Cannot convert {value} to type '{property.ReturnType}'"); 568 Application.Current?.FindMauiContext()?.CreateLogger<BindableObject>()?.LogWarning($"Value is an invalid value for {property.PropertyName}");
BindablePropertyConverter.cs (2)
84 Application.Current?.FindMauiContext()?.CreateLogger<BindablePropertyConverter>()?.LogWarning("Can't resolve properties with xml namespace prefix."); 90 Application.Current?.FindMauiContext()?.CreateLogger<BindablePropertyConverter>()?.LogWarning($"Can't resolve {value}. Accepted syntax is Type.PropertyName.");
BindingBase.cs (2)
157 Application.Current?.FindMauiContext()?.CreateLogger<BindingBase>()?.LogWarning("FormatException"); 172 Application.Current?.FindMauiContext()?.CreateLogger<BindingBase>()?.LogWarning("FormatException");
Element\Element.cs (3)
300 .LogWarning($"The ParentOverride on {this} has been Garbage Collected. This should never happen. Please log a bug: https://github.com/dotnet/maui"); 355 .LogWarning($"The RealParent on {this} has been Garbage Collected. This should never happen. Please log a bug: https://github.com/dotnet/maui"); 409 Application.Current?.FindMauiContext()?.CreateLogger<Element>()?.LogWarning($"{this} is already a child of {element}. Remove {this} from {element} before adding to {value}.");
Interactivity\EventTrigger.cs (1)
85 Application.Current?.FindMauiContext()?.CreateLogger<EventTrigger>()?.LogWarning("Cannot attach EventTrigger to {Type}.{Event}. Check if the handler exists and if the signature is right.", bindable.GetType(), Event);
ListView\ListView.cs (2)
638 Application.Current?.FindMauiContext()?.CreateLogger<ListView>()?.LogWarning("GroupHeaderTemplate and GroupDisplayBinding cannot be set at the same time, setting GroupHeaderTemplate to null"); 648 Application.Current?.FindMauiContext()?.CreateLogger<ListView>()?.LogWarning("GroupHeaderTemplate and GroupDisplayBinding cannot be set at the same time, setting GroupDisplayBinding to null");
MergedStyle.cs (1)
49 Application.Current?.FindMauiContext()?.CreateLogger<Style>()?.LogWarning("Style TargetType {FullName} is not compatible with element target type {TargetType}", value.TargetType.FullName, TargetType);
NavigationPage\NavigationPage.cs (1)
878 Application.Current?.FindMauiContext()?.CreateLogger<NavigationPage>()?.LogWarning("RemovePage called for CurrentPage object. This can result in undesired behavior, consider calling PopAsync instead.");
NavigationPage\NavigationPage.Legacy.cs (1)
241 Application.Current?.FindMauiContext()?.CreateLogger<NavigationPage>()?.LogWarning("RemovePage called for CurrentPage object. This can result in undesired behavior, consider calling PopAsync instead.");
RadioButton\RadioButton.cs (1)
632 Application.Current?.FindMauiContext()?.CreateLogger<RadioButton>()?.LogWarning("Warning - {RuntimePlatform} does not support View as the {PropertyName} property of RadioButton; the return value of the ToString() method will be displayed instead.", DeviceInfo.Platform, ContentProperty.PropertyName);
Shell\ShellSection.cs (1)
503 Application.Current?.FindMauiContext()?.CreateLogger<ShellSection>()?.LogWarning("Failed to Create Content For: {route}", route);
StreamWrapper.cs (1)
99 .LogWarning("Could not retrieve {Uri}, status code {StatusCode}", uri, response.StatusCode);
SwipeView\SwipeItems.cs (1)
165 ?.LogWarning($"{e} is already part of {e.Parent}. Remove from {e.Parent} to avoid inconsistent behavior.");
TypeConversionHelper.cs (1)
173 Application.Current?.FindMauiContext()?.CreateLogger(nameof(TypeConversionHelper))?.LogWarning(
Visuals\VisualMarker.cs (2)
32 logger?.LogWarning("Material needs to be registered on {RuntimePlatform} by calling FormsMaterial.Init() after the Microsoft.Maui.Controls.Forms.Init method call.", DeviceInfo.Platform); 34 logger?.LogWarning("Material is currently not support on {RuntimePlatform}.", DeviceInfo.Platform);
Visuals\VisualTypeConverter.cs (5)
86 Application.Current?.FindMauiContext()?.CreateLogger<IVisual>()?.LogWarning("Cannot scan assembly {assembly} for Visual types.", assembly.FullName); 90 Application.Current?.FindMauiContext()?.CreateLogger<IVisual>()?.LogWarning("Unable to load a dependent assembly for {assembly}. It cannot be scanned for Visual types.", assembly.FullName); 94 Application.Current?.FindMauiContext()?.CreateLogger<IVisual>()?.LogWarning("Unable to load a dependent assembly for {assembly}. Types cannot be loaded.", assembly.FullName); 146 Application.Current?.FindMauiContext()?.CreateLogger<IVisual>()?.LogWarning("Unable to register {visualType} please add a public default constructor", visualType.ToString()); 165 Application.Current?.FindMauiContext()?.CreateLogger<IVisual>()?.LogWarning(
Xaml\Diagnostics\BindingDiagnostics.cs (2)
18 Application.Current?.FindMauiContext()?.CreateLogger<BindingDiagnostics>()?.LogWarning(message, messageArgs); 24 Application.Current?.FindMauiContext()?.CreateLogger<BindingDiagnostics>()?.LogWarning(message, messageArgs);
Microsoft.NET.Build.Containers (1)
LocalDaemons\ContainerRuntimeOperations.cs (1)
129_logger.LogWarning(
Microsoft.TemplateEngine.Cli (2)
Commands\create\InstantiateCommand.cs (2)
142environmentSettings.Host.Logger.LogWarning(LocalizableStrings.InstantiateCommand_Warning_FailedToGetTemplatePackageForTemplateGroup, templateGroup.GroupIdentity); 335environmentSettings.Host.Logger.LogWarning(LocalizableStrings.InstantiateCommand_Warning_FailedToGetTemplatePackageForTemplate, template.Identity);
Microsoft.TemplateEngine.Edge (10)
Constraints\WorkloadConstraintFactory.cs (1)
116logger.LogWarning(string.Format(
Installers\NuGet\NuGetLogger.cs (1)
86_baseLogger.LogWarning(data);
Settings\TemplateCache.cs (1)
192logger.LogWarning(string.Format(
Settings\TemplatePackageManager.cs (2)
362_logger.LogWarning(LocalizableStrings.TemplatePackageManager_Error_FailedToScan, allTemplatePackages[index].MountPointUri, ex.Message); 380_logger.LogWarning(LocalizableStrings.TemplatePackageManager_Error_FailedToStoreCache, ex.Message);
Template\ParameterSetBuilder.cs (1)
261logger.LogWarning(LocalizableStrings.ConditionEvaluation_Warning_CyclicDependency, cycle.Select(p => p.ParameterDefinition.Name).ToCsvString());
TemplateConstraintManager.cs (1)
71_logger.LogWarning(LocalizableStrings.TemplateConstraintManager_Error_FailedToInitialize, constraint.Type, constraint.Task.Exception.Message);
ValidationUtils.cs (3)
33logger.LogWarning(LocalizableStrings.Validation_InvalidTemplateLoc, invalidLoc.Locale, templateDisplayName); 60logger.LogWarning(LocalizableStrings.Validation_InvalidTemplateLoc, template.Localization!.Locale, templateDisplayName); 117IValidationEntry.SeverityLevel.Warning => (s) => logger.LogWarning(s),
Microsoft.TemplateEngine.Orchestrator.RunnableProjects (22)
BindSymbolEvaluator.cs (5)
55_logger.LogWarning(LocalizableStrings.BindSymbolEvaluator_Warning_DefaultValueConversionFailure, bindSymbol.Name, bindSymbol.DefaultValue, bindSymbol.DataType); 94_logger.LogWarning(LocalizableStrings.BindSymbolEvaluator_Warning_EvaluationError, currentSymbol.Name); 110_logger.LogWarning(LocalizableStrings.BindSymbolEvaluator_Warning_EvaluationError, currentSymbol.Name); 125_logger.LogWarning( 219_logger.LogWarning(LocalizableStrings.BindSymbolEvaluator_Warning_ValueAvailableFromMultipleSources, configuredBinding, sourcesList, prefixesList);
ConfigModel\SymbolModelConverter.cs (1)
30logger?.LogWarning(ex.Message);
ConfigModel\TemplateConfigModel.cs (2)
184logger1?.LogWarning(LocalizableStrings.SimpleConfigModel_Error_Constraints_InvalidSyntax, nameof(Constraints).ToLowerInvariant()); 191logger1?.LogWarning(LocalizableStrings.SimpleConfigModel_Error_Constraints_MissingType, obj.ToJsonString(), nameof(TemplateConstraintInfo.Type).ToLowerInvariant());
DirectoryBasedTemplate.cs (1)
148Logger.LogWarning(LocalizableStrings.LocalizationModelDeserializer_Error_UnknownLocale, localeStr);
GlobalRunSpec.cs (1)
168host.Logger.LogWarning($"Operation type = [{opType}] from configuration is unknown.");
MacroProcessor.cs (2)
36environmentSettings.Host.Logger.LogWarning( 61environmentSettings.Host.Logger.LogWarning(LocalizableStrings.MacroProcessor_Warning_UnknownMacro, config.VariableName, config.Type);
Macros\GeneratePortNumberConfig.cs (3)
75logger.LogWarning(LocalizableStrings.GeneratePortNumberConfig_Warning_InvalidLowBound, low, LowPortDefault); 81logger.LogWarning(LocalizableStrings.GeneratePortNumberConfig_Warning_InvalidHighBound, high, HighPortDefault); 87logger.LogWarning(LocalizableStrings.GeneratePortNumberConfig_Warning_InvalidLowHighBound, low, high, LowPortDefault, HighPortDefault);
RunnableProjectConfig.cs (5)
72Logger.LogWarning(LocalizableStrings.LocalizationModelDeserializer_Error_FailedToParse, localeConfigFile.GetDisplayPath()); 308EngineEnvironmentSettings.Host.Logger.LogWarning(LocalizableStrings.RunnableProjectConfig_OperationSetup_UnknownForm, p.Name, formName); 366EngineEnvironmentSettings.Host.Logger.LogWarning(LocalizableStrings.RunnableProjectConfig_OperationSetup_UnknownForm, derivedSymbol.Name, derivedSymbol.ValueTransform); 396EngineEnvironmentSettings.Host.Logger.LogWarning(LocalizableStrings.RunnableProjectConfig_OperationSetup_UnknownForm, baseValueSymbol.Name, formName); 493EngineEnvironmentSettings.Host.Logger.LogWarning(
ScannedTemplateInfo.cs (2)
75Logger.LogWarning(LocalizableStrings.LocalizationModelDeserializer_Error_FailedToParse, locFile.GetDisplayPath()); 85Logger.LogWarning(LocalizableStrings.LocalizationModelDeserializer_Error_FailedToParse, locFile.GetDisplayPath());
Microsoft.TemplateSearch.Common (1)
Providers\NuGetMetadataSearchProvider.cs (1)
227_environmentSettings.Host.Logger.LogWarning(LocalizableStrings.BlobStoreSourceFileProvider_Warning_LocalCacheWillBeUsed);