140 references to LogWarning
aspire (44)
Agents\AspireSkills\EmbeddedAspireSkillsBundleProvider.cs (1)
129_logger.LogWarning(ex, "Embedded Aspire skills metadata resource {ResourceName} could not be parsed.", MetadataResourceName);
Agents\AspireSkills\GitHubArtifactAttestationVerifier.cs (1)
129logger.LogWarning(ex, "Sigstore verification threw an exception for GitHub artifact {ArtifactPath}.", artifactPath);
Agents\Playwright\PlaywrightCliInstaller.cs (2)
296logger.LogWarning(ex, "Failed to mirror Playwright CLI skill files to some locations."); 353logger.LogWarning(ex, "Failed to mirror playwright-cli skills to {TargetDir}.", targetSkillDir);
Backchannel\AppHostAuxiliaryBackchannel.cs (1)
282logger.LogWarning(ex, "Failed to fetch capabilities from AppHost");
Backchannel\AppHostCliBackchannel.cs (1)
414logger.LogWarning(ex, "Failed to reconnect backchannel");
Backchannel\AuxiliaryBackchannelMonitor.cs (1)
409logger.LogWarning(ex, "Error processing directory changes");
Bundles\BundleService.cs (2)
349logger.LogWarning(ex, "Unable to preserve failed bundle at {BadPath}; deleting instead.", badPath); 388logger.LogWarning(ex, "Unable to preserve failed bundle at {BadPath}.", badPath);
Commands\DcpWorkloadCleanupService.cs (1)
66logger.LogWarning(ex, "Failed to run DCP cleanup.");
Commands\InstallationInfoOutput.cs (3)
70logger.LogWarning(ex, "Could not run the winget first-run install sidecar probe before doctor installation discovery."); 86logger.LogWarning(ex, "Could not discover Aspire CLI installations for doctor output."); 106logger.LogWarning(ex, "Could not describe the running Aspire CLI installation for doctor self-probe output.");
Commands\RunCommand.cs (1)
610_logger.LogWarning(ex, "Failed to capture logs from AppHost");
Commands\Sdk\SdkDumpCommand.cs (1)
368_logger.LogWarning(ex, "Failed to dump capabilities for integration {IntegrationName}", integration.Name);
Commands\UpdateCommand.cs (3)
632_logger.LogWarning(ex, "Failed to check target Aspire SDK version before project update"); 910_logger.LogWarning(ex, "Failed to set executable permission on {FilePath}", filePath); 963_logger.LogWarning(ex, "Failed to clean up directory {Directory}", directory);
Documentation\CachedHttpDocumentFetcher.cs (1)
96logger.LogWarning(ex, "Failed to fetch content from {Url}", url);
DotNet\ProcessExecution.cs (4)
338_logger.LogWarning(ex, "Failed to kill {FileName} (pid {Pid}).", _fileName, GetSafePid(process)); 356_logger.LogWarning(ex, "Error draining killed {FileName} (pid {Pid}).", _fileName, GetSafePid(process)); 458_logger.LogWarning(ex, "Failed to issue graceful shutdown to {FileName} (pid {Pid}); escalating to kill.", _fileName, pid); 611_logger.LogWarning(ex, "{FileName}({ProcessId}) stdout/stderr pump faulted while draining after exit", _fileName, process.Id);
Npm\SigstoreNpmProvenanceChecker.cs (1)
286_logger.LogWarning(ex, "Sigstore verification threw an exception for {PackageSpecifier}", NpmPackageInfo.FormatPackageSpecifier(packageName, version));
Packaging\PackagingService.cs (1)
270_logger.LogWarning(ex, "Failed to get process path while discovering PR package hive.");
Processes\ProcessTreeGracefulShutdownService.cs (2)
192logger.LogWarning(ex, "Failed to request graceful process shutdown."); 205logger.LogWarning(ex, "Failed to send stop signal via RPC");
Projects\GuestAppHostProject.cs (5)
940_logger.LogWarning(ex, "Failed to load config for launch profiles from {Directory}", configDir.FullName); 1018_logger.LogWarning(ex, "Failed to read {ConfigPath}", configPath); 1493_logger.LogWarning(ex, "Failed to check for SDK version updates"); 1516_logger.LogWarning(ex, "Failed to check for updates to package {PackageId}", packageId); 2310_logger.LogWarning(ex, "Failed to combine {EnvironmentVariableName} bundle {ExistingBundlePath} with the Aspire development certificate", environmentVariableName, existingCertificateBundle);
Projects\PrebuiltAppHostServer.cs (4)
1085_logger.LogWarning(ex, "Failed to get package channels, relying on nuget.config and nuget.org fallback"); 1125_logger.LogWarning(ex, "Failed to get package channels while creating source override NuGet.config"); 1162_logger.LogWarning(ex, "Failed to get package channels while creating channel NuGet.config for '{Channel}'.", requestedChannel); 1278_logger.LogWarning(ex, "Failed to resolve local Aspire package source for channel '{Channel}'.", requestedChannel);
Projects\ProjectLocator.cs (1)
848logger.LogWarning(ex, "Unable to load AppHost settings: {Message}", message);
Projects\ProjectUpdater.cs (1)
1201logger.LogWarning(ex, "Exception while resolving MSBuild property '{PropertyName}' for project '{ProjectFile}'", propertyName, projectFile.FullName);
Projects\RunningInstanceManager.cs (1)
84_logger.LogWarning(ex, "Failed to stop running instance");
Scaffolding\PackageJsonMerger.cs (2)
67logger.LogWarning(ex, "Failed to parse package.json content, using scaffold output as-is."); 84logger.LogWarning(ex, "Failed to merge package.json content, using scaffold output as-is.");
Scaffolding\ScaffoldingService.cs (1)
305_logger.LogWarning(ex, "Failed to parse root package.json at '{PackageJsonPath}'.", packageJsonPath);
Telemetry\UnixMachineInformationProvider.cs (1)
32_logger.LogWarning(ex, "Unable to find folder to cache device id to.");
Utils\CliDownloader.cs (1)
97logger.LogWarning(ex, "Failed to clean up temporary directory {TempDir}", tempDir);
Aspire.Dashboard (14)
Components\Dialogs\FilterDialog.razor.cs (2)
135Logger.LogWarning(ex, "Error loading filter property keys."); 253Logger.LogWarning(ex, "Error loading filter values for field '{FieldName}'.", parameterName);
Components\Pages\ConsoleLogs.razor.cs (1)
260Logger.LogWarning(ex, "Load timeout while waiting for resource {ResourceName}.", ResourceName);
Model\BrowserStorage\BrowserStorageBase.cs (1)
36Logger.LogWarning(ex, "Error when reading '{Key}' as {ValueType}.", key, typeof(TValue).Name);
Model\BrowserStorage\LocalBrowserStorage.cs (1)
40Logger.LogWarning(ex, "Error when reading '{Key}' as {ValueType}.", key, typeof(TValue).Name);
Model\TelemetryImportService.cs (1)
133_logger.LogWarning(ex, "Failed to deserialize JSON file: {FileName}", fileName);
ServiceClient\DashboardDataSource.cs (1)
110_logger.LogWarning(exception, "Failed to switch to dashboard run '{RunId}'.", selectedRun.RunId);
ServiceClient\DashboardDataSourceInitializer.cs (1)
34log.LogWarning(ex, "Failed to prune expired dashboard runs.");
ServiceClient\DashboardRunStore.cs (2)
217_logger.LogWarning( 460_logger.LogWarning(
Telemetry\DashboardTelemetrySender.cs (2)
73_logger.LogWarning(ex, "Failed to send telemetry request {Name}.", context.Name); 157_logger.LogWarning(ex, "Failed to request whether telemetry is supported.");
Terminal\TerminalWebSocketProxy.cs (2)
168logger.LogWarning(ex, "Failed to resolve terminal connection for {Resource}/{Replica}.", resourceName, replicaIndex); 212logger.LogWarning(ex, "Failed to accept terminal WebSocket for {Resource}/{Replica}.", resourceName, replicaIndex);
Aspire.Dashboard.Tests (1)
Integration\ServerRetryHelper.cs (1)
178logger.LogWarning(ex, "Port {port} bind check failed with unexpected error.", port);
Aspire.Hosting (21)
ApplicationModel\ExecutableLaunchRecipe.cs (1)
558context.ResourceLogger.LogWarning(
ApplicationModel\ProjectResource.cs (1)
208logger.LogWarning(ex, "Failed to delete temporary Dockerfile {DockerfilePath}", tempDockerfilePath);
Backchannel\DashboardUrlsHelper.cs (1)
69logger.LogWarning(ex, "An error occurred while waiting for the Aspire Dashboard to become healthy.");
Dashboard\DashboardEventHandlers.cs (1)
1066distributedApplicationLogger.LogWarning(ex, "Failed to delete temporary runtime config file: {Path}", _customRuntimeConfigPath);
Dashboard\DashboardService.cs (1)
583logger.LogWarning(ex, "Failed to close incomplete uploaded file {FileId}.", fileId);
Lifecycle\TerminalHostOrphanCleanupService.cs (9)
176logger?.LogWarning(ex, "Failed to delete terminal socket '{Path}'.", socketPath); 196logger?.LogWarning(ex, "Failed to delete terminal metadata '{Path}'.", metadataPath); 272logger.LogWarning( 282logger.LogWarning(ex, "Unable to inspect terminal metadata '{Path}'; leaving its artifacts in place.", candidatePath); 384logger.LogWarning(ex, "Failed to sweep orphaned terminal artifacts in '{Directory}'.", trmnlDirectory); 401logger.LogWarning(ex, "Unable to inspect the age of invalid terminal metadata '{Path}'.", metadataPath); 424logger.LogWarning(ex, "Unable to reclaim expired invalid terminal metadata '{Path}'.", metadataPath); 456logger.LogWarning(ex, "Unable to inspect temporary terminal metadata '{Path}'.", temporaryPath); 475logger.LogWarning(ex, "Unable to reclaim stale temporary terminal metadata '{Path}'.", temporaryPath);
Orchestrator\ApplicationOrchestrator.cs (1)
100_logger.LogWarning(ex, "Failed to resolve connection property {ConnectionPropertyName} for resource {ResourceName}.", property.Key, resourceWithConnectionString.Name);
Orchestrator\ParameterProcessor.cs (3)
491logger.LogWarning(ex, "Failed to delete parameter {ParameterName} from deployment state.", parameterResource.Name); 528logger.LogWarning(ex, "Failed to save parameter {ParameterName} to deployment state.", parameterResource.Name); 691logger.LogWarning(ex, "Failed to save parameter {ParameterName} to deployment state.", parameter.Name);
Pipelines\Internal\FileDeploymentStateManager.cs (1)
376logger.LogWarning(ex, "Failed to save deployment state.");
Pipelines\Internal\UserSecretsDeploymentStateManager.cs (1)
54logger.LogWarning(ex, "Failed to save user secrets.");
Utils\FileSystemService.cs (1)
122_logger?.LogWarning(ex, "Failed to clean up temporary item");
Aspire.Hosting.Azure (12)
AcrLoginService.cs (1)
106_logger.LogWarning(
AzureEnvironmentResource.cs (1)
320context.Logger.LogWarning(ex, "Failed to enumerate resources in resource group '{ResourceGroupName}'", resourceGroupName);
AzureProvisioningController.cs (5)
3028_logger.LogWarning(ex, "Timed out waiting for deleted Azure Key Vault {ResourceId} in {Location} to be purged for {ResourceName}. The live vault was deleted and purge was requested; a later reprovision can retry if Azure is still finalizing the tombstone.", resourceId, keyVaultLocation, resourceName); 3273_logger.LogWarning(ex, "Failed to enumerate Azure tenants for context selection."); 3294_logger.LogWarning(ex, "Failed to enumerate Azure subscriptions for context selection."); 3318_logger.LogWarning(ex, "Failed to enumerate Azure resource groups for context selection."); 3350_logger.LogWarning(ex, "Failed to enumerate Azure locations for resource override.");
Provisioning\Internal\BaseProvisioningContextProvider.cs (4)
292_logger.LogWarning(ex, "Failed to enumerate available tenants. Falling back to manual input."); 320_logger.LogWarning(ex, "Failed to enumerate available subscriptions. Falling back to manual input."); 353_logger.LogWarning(ex, "Failed to enumerate available resource groups with locations."); 388_logger.LogWarning(ex, "Failed to enumerate available locations. Falling back to manual input.");
Provisioning\Provisioners\BicepProvisioner.cs (1)
1309logger.LogWarning(ex, "Failed to cancel Azure deployment {DeploymentName}.", deploymentName);
Aspire.Hosting.Azure.Sandboxes (11)
AzureSandboxContainerDeployment.cs (11)
484context.Logger.LogWarning( 549context.Logger.LogWarning( 1332context.Logger.LogWarning(ex, "Sandbox deployment state and Azure scope outputs were unavailable, so data-plane cleanup could not run before the Azure resource group cleanup."); 1658context.Logger.LogWarning(ex, "Failed to list existing sandbox deployments labeled for resource '{ResourceName}'.", resourceName); 1680context.Logger.LogWarning(ex, "Failed to list existing sandbox disk images labeled for resource '{ResourceName}'.", resourceName); 1728context.Logger.LogWarning(ex, "Failed to list sandboxes while reconciling failed deployment '{DeployId}'.", deployId); 1749context.Logger.LogWarning(ex, "Failed to list disk images while reconciling failed deployment '{DeployId}'.", deployId); 1813context.Logger.LogWarning( 2251context.Logger.LogWarning(ex, "Failed to remove sandbox port {Port} from sandbox '{SandboxId}'.", port, sandboxId); 2264context.Logger.LogWarning(ex, "Failed to delete sandbox '{SandboxId}'.", sandboxId); 2298context.Logger.LogWarning(ex, "Failed to delete sandbox disk image '{DiskImageId}'.", diskImageId);
Aspire.Hosting.Foundry (2)
FoundryLocalService.cs (1)
260logger.LogWarning(cleanupException, "Foundry CLI server cleanup failed after startup did not complete. Cleanup will be retried when the AppHost stops.");
HostedAgent\AzureHostedAgentResource.cs (1)
281context.Logger.LogWarning(
Aspire.Hosting.JavaScript (1)
JavaScriptHostingExtensions.cs (1)
2151resourceLogger.LogWarning(ex, "Failed to generate Aspire Vite HTTPS config wrapper for resource '{ResourceName}'. Falling back to existing Vite config without Aspire modifications. Automatic HTTPS configuration won't be available", resource.Name);
Aspire.Hosting.Kubernetes (1)
Deployment\HelmDeploymentEngine.cs (1)
544context.Logger.LogWarning(ex, "Failed to retrieve endpoints for {ResourceName}", computeResource.Name);
Aspire.Hosting.Maui (3)
Lifecycle\MauiBuildQueueEventSubscriber.cs (3)
336logger.LogWarning(ex, "Timed out waiting for resource '{ResourceName}' to reach a launch handoff state after {Timeout}; releasing build lock.", resource.Name, LaunchHandoffTimeout); 343logger.LogWarning(ex, "Timed out waiting for Android resource '{ResourceName}' to finish its launch work after {Timeout}; stopping the resource before releasing the build lock.", resource.Name, LaunchHandoffTimeout); 376logger.LogWarning(ex, "Failed to wait for resource '{ResourceName}' to reach a stable state; releasing build lock.", resource.Name);
Aspire.Hosting.Radius (1)
Publishing\RadiusDeploymentPipelineStep.cs (1)
335logger.LogWarning(ex, "Failed to delete temporary deploy parameters file '{Path}'", parametersFilePath);
Aspire.Hosting.RemoteHost (8)
AssemblyLoader.cs (1)
314logger.LogWarning(ex, "Failed to load assembly '{AssemblyName}'", name);
CodeGeneration\CodeGeneratorResolver.cs (3)
128_logger.LogWarning(ex, "Failed to instantiate code generator '{TypeName}'", type.Name); 179_logger.LogWarning(ex, "Failed to instantiate API reference exporter '{TypeName}'", type.Name); 212_logger.LogWarning(
JsonRpcServer.cs (2)
273_logger.LogWarning(ex, "Client {ClientId} I/O error", clientId); 321_logger.LogWarning(ex, "Failed to delete socket file: {SocketPath}", _socketPath);
Language\LanguageSupportResolver.cs (2)
86_logger.LogWarning( 113_logger.LogWarning(ex, "Failed to instantiate language support '{TypeName}'", type.Name);
BlazorHosted.ClientServiceDefaults (1)
BackgroundExportHandler.cs (1)
55logger.LogWarning(ex,
BlazorStandalone.ClientServiceDefaults (1)
BackgroundExportHandler.cs (1)
59logger.LogWarning(ex,
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (2)
Internal\QuicConnectionContext.cs (1)
67_log.LogWarning(ex, "Failed to gracefully shutdown connection.");
Internal\QuicStreamContext.cs (1)
543_log.LogWarning(ex, "Stream failed to gracefully shutdown.");
Microsoft.Extensions.AI.Evaluation.Console (7)
Telemetry\DeviceIdHelper.cs (1)
53_logger.LogWarning(ex, "Failed to cache device ID.");
Telemetry\TelemetryConstants.cs (1)
171logger.LogWarning(ex, "Failed to create sentinel file.");
Telemetry\TelemetryHelper.cs (5)
64_logger.LogWarning(ex, $"Failed to initialize {nameof(TelemetryHelper)}."); 89_logger.LogWarning(ex, $"Failed to dispose {nameof(TelemetryHelper)}."); 116_logger.LogWarning(ex, "Failed to report event '{EventName}' in telemetry.", eventName); 138_logger.LogWarning(ex, $"Failed to report exception in telemetry."); 155_logger.LogWarning(ex, "Failed to flush telemetry.");
Microsoft.Maui (2)
Fonts\FileSystemEmbeddedFontLoader.cs (1)
77 _serviceProvider?.CreateLogger<EmbeddedFontLoader>()?.LogWarning(ex, "Unable copy font {Font} to local file system.", font.FontName);
Fonts\FontRegistrar.cs (1)
71 _serviceProvider?.CreateLogger<FontRegistrar>()?.LogWarning(ex, "Unable to load font '{Font}'.", font);
Microsoft.Maui.Controls (5)
NavigationPage\NavigationPage.cs (1)
241 Application.Current?.FindMauiContext()?.CreateLogger<NavigationPage>()?.LogWarning(e, null);
Shell\Shell.cs (2)
1260 Application.Current?.FindMauiContext()?.CreateLogger<Shell>()?.LogWarning(exc, "If you're using hot reload add a route to everything in your shell file"); 1556 Application.Current?.FindMauiContext()?.CreateLogger<Shell>()?.LogWarning(exc, "Failed to Navigate Back");
UriImageSource.cs (2)
75 Application.Current?.FindMauiContext()?.CreateLogger<UriImageSource>()?.LogWarning(ex, "Error getting stream for {Uri}", Uri); 126 Application.Current?.FindMauiContext()?.CreateLogger<UriImageSource>()?.LogWarning(ex, "Error getting stream for {Uri}", Uri);
Microsoft.TemplateEngine.Cli (2)
HostSpecificDataLoader.cs (2)
54_engineEnvironment.Host.Logger.LogWarning( 81_engineEnvironment.Host.Logger.LogWarning(
Microsoft.TemplateEngine.Edge (1)
Settings\TemplateCache.cs (1)
236settings.Host.Logger.LogWarning(