Skip to content

CmdPal: Wire up ILogger<T> in ShellViewModel and PowerToysRootPageSer…

e222389
Select commit
Loading
Failed to load commit list.
Draft

CmdPal: Wire up ILogger<T> in ShellViewModel and PowerToysRootPageService #46779

CmdPal: Wire up ILogger<T> in ShellViewModel and PowerToysRootPageSer…
e222389
Select commit
Loading
Failed to load commit list.
Azure Pipelines / PowerToys CI failed Apr 6, 2026 in 26m 44s

Build #PowerToys CI_2604.06002 failed

Annotations

Check failure on line 67 in src\modules\cmdpal\Microsoft.CmdPal.UI.ViewModels\ShellViewModel.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerToys CI

src\modules\cmdpal\Microsoft.CmdPal.UI.ViewModels\ShellViewModel.cs#L67

src\modules\cmdpal\Microsoft.CmdPal.UI.ViewModels\ShellViewModel.cs(67,25): Error CA1848: For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogError(ILogger, Exception?, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)

Check failure on line 173 in src\modules\cmdpal\Microsoft.CmdPal.UI.ViewModels\ShellViewModel.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerToys CI

src\modules\cmdpal\Microsoft.CmdPal.UI.ViewModels\ShellViewModel.cs#L173

src\modules\cmdpal\Microsoft.CmdPal.UI.ViewModels\ShellViewModel.cs(173,29): Error CA1848: For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogError(ILogger, Exception?, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)

Check failure on line 191 in src\modules\cmdpal\Microsoft.CmdPal.UI.ViewModels\ShellViewModel.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerToys CI

src\modules\cmdpal\Microsoft.CmdPal.UI.ViewModels\ShellViewModel.cs#L191

src\modules\cmdpal\Microsoft.CmdPal.UI.ViewModels\ShellViewModel.cs(191,45): Error CA1848: For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogError(ILogger, Exception?, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)

Check failure on line 221 in src\modules\cmdpal\Microsoft.CmdPal.UI.ViewModels\ShellViewModel.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / PowerToys CI

src\modules\cmdpal\Microsoft.CmdPal.UI.ViewModels\ShellViewModel.cs#L221

src\modules\cmdpal\Microsoft.CmdPal.UI.ViewModels\ShellViewModel.cs(221,25): Error CA1848: For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogError(ILogger, Exception?, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)