69 references to LogWarning
aspire (22)
Agents\Playwright\PlaywrightCliInstaller.cs (1)
279logger.LogWarning(ex, "Failed to mirror playwright-cli skills to {TargetDir}", targetSkillDir);
Backchannel\AppHostAuxiliaryBackchannel.cs (1)
192logger?.LogWarning(ex, "Failed to fetch capabilities from AppHost");
Backchannel\AppHostCliBackchannel.cs (1)
335logger.LogWarning(ex, "Failed to reconnect backchannel");
Backchannel\AuxiliaryBackchannelMonitor.cs (1)
255logger.LogWarning(ex, "Error processing directory changes");
Commands\StopCommand.cs (4)
209_logger.LogWarning(ex, "Failed to send stop signal to CLI process {Pid}", cliPid); 225_logger.LogWarning(ex, "Failed to send stop signal via RPC"); 238_logger.LogWarning(ex, "Failed to send stop signal to process {Pid}", appHostPid); 268_logger.LogWarning(ex, "Failed while waiting for AppHost to stop");
Commands\UpdateCommand.cs (2)
479_logger.LogWarning(ex, "Failed to set executable permission on {FilePath}", filePath); 565_logger.LogWarning(ex, "Failed to clean up directory {Directory}", directory);
Mcp\Docs\DocsFetcher.cs (1)
115_logger.LogWarning(ex, "Failed to fetch aspire.dev docs");
Npm\SigstoreNpmProvenanceChecker.cs (1)
243logger.LogWarning(ex, "Sigstore verification threw an exception for {Package}@{Version}", packageName, version);
Projects\GuestAppHostProject.cs (4)
621_logger.LogWarning(ex, "Failed to load config for launch profiles from {Directory}", configDir.FullName); 699_logger.LogWarning(ex, "Failed to read {ConfigPath}", configPath); 1057_logger.LogWarning(ex, "Failed to check for SDK version updates"); 1080_logger.LogWarning(ex, "Failed to check for updates to package {PackageId}", packageId);
Projects\PrebuiltAppHostServer.cs (2)
215_logger.LogWarning(ex, "Failed to configure NuGet sources for integration project build"); 397_logger.LogWarning(ex, "Failed to get package channels, relying on nuget.config and nuget.org fallback");
Projects\ProjectUpdater.cs (1)
851logger.LogWarning(ex, "Exception while resolving MSBuild property '{PropertyName}' for project '{ProjectFile}'", propertyName, projectFile.FullName);
Projects\RunningInstanceManager.cs (1)
82_logger.LogWarning(ex, "Failed to stop running instance");
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 (6)
Components\Pages\ConsoleLogs.razor.cs (1)
230Logger.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)
123_logger.LogWarning(ex, "Failed to deserialize JSON file: {FileName}", fileName);
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.");
Aspire.Dashboard.Tests (1)
Integration\ServerRetryHelper.cs (1)
178logger.LogWarning(ex, "Port {port} bind check failed with unexpected error.", port);
Aspire.Hosting (11)
ApplicationModel\ProjectResource.cs (1)
223logger.LogWarning(ex, "Failed to delete temporary Dockerfile {DockerfilePath}", tempDockerfilePath);
Backchannel\AuxiliaryBackchannelService.cs (1)
127logger.LogWarning(ex, "Failed to delete socket file: {SocketPath}", SocketPath);
Backchannel\DashboardUrlsHelper.cs (1)
46logger.LogWarning(ex, "An error occurred while waiting for the Aspire Dashboard to become healthy.");
Dashboard\DashboardEventHandlers.cs (1)
948distributedApplicationLogger.LogWarning(ex, "Failed to delete temporary runtime config file: {Path}", _customRuntimeConfigPath);
Dcp\DcpExecutor.cs (1)
1893_logger.LogWarning(ex, "Failed to apply launch configuration for resource '{ResourceName}'. Falling back to process execution.", er.ModelResource.Name);
Orchestrator\ParameterProcessor.cs (3)
413logger.LogWarning(ex, "Failed to delete parameter {ParameterName} from deployment state.", parameterResource.Name); 446logger.LogWarning(ex, "Failed to save parameter {ParameterName} to deployment state.", parameterResource.Name); 582logger.LogWarning(ex, "Failed to save parameter {ParameterName} to deployment state.", parameter.Name);
Pipelines\Internal\FileDeploymentStateManager.cs (1)
137logger.LogWarning(ex, "Failed to save deployment state.");
Pipelines\Internal\UserSecretsDeploymentStateManager.cs (1)
50logger.LogWarning(ex, "Failed to save user secrets.");
Utils\FileSystemService.cs (1)
122_logger?.LogWarning(ex, "Failed to clean up temporary item");
Aspire.Hosting.Azure (4)
Provisioning\Internal\BaseProvisioningContextProvider.cs (4)
244_logger.LogWarning(ex, "Failed to enumerate available tenants. Falling back to manual input."); 272_logger.LogWarning(ex, "Failed to enumerate available subscriptions. Falling back to manual input."); 305_logger.LogWarning(ex, "Failed to enumerate available resource groups with locations."); 340_logger.LogWarning(ex, "Failed to enumerate available locations. Falling back to manual input.");
Aspire.Hosting.JavaScript (1)
JavaScriptHostingExtensions.cs (1)
628resourceLogger.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.RemoteHost (5)
AssemblyLoader.cs (1)
129logger.LogWarning(ex, "Failed to load assembly '{AssemblyName}'", name);
CodeGeneration\CodeGeneratorResolver.cs (1)
74_logger.LogWarning(ex, "Failed to instantiate code generator '{TypeName}'", type.Name);
JsonRpcServer.cs (2)
251_logger.LogWarning(ex, "Client {ClientId} I/O error", clientId); 297_logger.LogWarning(ex, "Failed to delete socket file: {SocketPath}", _socketPath);
Language\LanguageSupportResolver.cs (1)
83_logger.LogWarning(ex, "Failed to instantiate language support '{TypeName}'", type.Name);
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (1)
RetryHandler.cs (1)
37_logger.LogWarning(ex, "Error sending request");
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (2)
Internal\QuicConnectionContext.cs (1)
67_log.LogWarning(ex, "Failed to gracefully shutdown connection.");
Internal\QuicStreamContext.cs (1)
540_log.LogWarning(ex, "Stream failed to gracefully shutdown.");
Microsoft.CodeAnalysis.LanguageServer (1)
HostWorkspace\VSCodeSettings.cs (1)
38logger.LogWarning(exception, "Failed to parse VS Code settings file {SettingsFilePath}.", settingsFilePath);
Microsoft.DotNet.Build.Tasks.Feed (1)
src\ProductionChannelValidator.cs (1)
132_logger.LogWarning(exception, message);
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);