Skip to content

[WinForms] Tray icon - Better exit and UI prep #108

[WinForms] Tray icon - Better exit and UI prep

[WinForms] Tray icon - Better exit and UI prep #108

Triggered via push November 23, 2024 14:15
Status Failure
Total duration 2m 49s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 10 warnings
windows-latest
D:\a\windows-terminal-quake\windows-terminal-quake\src\10-Core\Wtq\Services\WtqHotkeyService.cs(37,7): error CS0117: 'WtqAppToggledEvent' does not contain a definition for 'App' [D:\a\windows-terminal-quake\windows-terminal-quake\src\10-Core\Wtq\Wtq.csproj]
windows-latest
D:\a\windows-terminal-quake\windows-terminal-quake\src\10-Core\Wtq\Services\WtqHotkeyService.cs(35,10): error CS9035: Required member 'WtqAppToggledEvent.AppName' must be set in the object initializer or attribute constructor. [D:\a\windows-terminal-quake\windows-terminal-quake\src\10-Core\Wtq\Wtq.csproj]
windows-latest
Target "PublishWin64SelfContained" has thrown an exception
windows-latest
Process completed with exit code 1.
windows-latest
D:\a\windows-terminal-quake\windows-terminal-quake\src\10-Core\Wtq\WtqEnv.cs(7,22): warning CA1034: Do not nest type Names. Alternatively, change its accessibility so that it is not externally visible. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1034) [D:\a\windows-terminal-quake\windows-terminal-quake\src\10-Core\Wtq\Wtq.csproj]
windows-latest
D:\a\windows-terminal-quake\windows-terminal-quake\src\10-Core\Wtq\WtqEnv.cs(17,23): warning SA1201: A property should not follow a class (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1201.md) [D:\a\windows-terminal-quake\windows-terminal-quake\src\10-Core\Wtq\Wtq.csproj]
windows-latest
D:\a\windows-terminal-quake\windows-terminal-quake\src\10-Core\Wtq\WtqEnv.cs(11,23): warning S3218: Rename this field to not shadow the outer class' member with the same name. (https://rules.sonarsource.com/csharp/RSPEC-3218) [D:\a\windows-terminal-quake\windows-terminal-quake\src\10-Core\Wtq\Wtq.csproj]
windows-latest
D:\a\windows-terminal-quake\windows-terminal-quake\src\10-Core\Wtq\WtqService.cs(14,27): warning S1450: Remove the field '_bus' and declare it as a local variable in the relevant methods. (https://rules.sonarsource.com/csharp/RSPEC-1450) [D:\a\windows-terminal-quake\windows-terminal-quake\src\10-Core\Wtq\Wtq.csproj]
windows-latest
D:\a\windows-terminal-quake\windows-terminal-quake\src\10-Core\Wtq\WtqWindow.cs(6,23): warning S4035: Seal class 'WtqWindow' or implement 'IEqualityComparer<T>' instead. (https://rules.sonarsource.com/csharp/RSPEC-4035) [D:\a\windows-terminal-quake\windows-terminal-quake\src\10-Core\Wtq\Wtq.csproj]
windows-latest
D:\a\windows-terminal-quake\windows-terminal-quake\src\10-Core\Wtq\WtqWindow.cs(51,2): warning SA1201: A operator should not follow a method (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1201.md) [D:\a\windows-terminal-quake\windows-terminal-quake\src\10-Core\Wtq\Wtq.csproj]
windows-latest
D:\a\windows-terminal-quake\windows-terminal-quake\src\10-Core\Wtq\WtqWindow.cs(49,2): warning SA1124: Do not use regions (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1124.md) [D:\a\windows-terminal-quake\windows-terminal-quake\src\10-Core\Wtq\Wtq.csproj]
windows-latest
D:\a\windows-terminal-quake\windows-terminal-quake\src\10-Core\Wtq\WtqService.cs(65,23): warning CA2000: Call System.IDisposable.Dispose on object created by '_lock.WaitOneSecondAsync()' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000) [D:\a\windows-terminal-quake\windows-terminal-quake\src\10-Core\Wtq\Wtq.csproj]
windows-latest
D:\a\windows-terminal-quake\windows-terminal-quake\src\10-Core\Wtq\WtqService.cs(106,23): warning CA2000: Call System.IDisposable.Dispose on object created by '_lock.WaitOneSecondAsync()' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000) [D:\a\windows-terminal-quake\windows-terminal-quake\src\10-Core\Wtq\Wtq.csproj]
windows-latest
D:\a\windows-terminal-quake\windows-terminal-quake\src\10-Core\Wtq\Utils\WtqSemaphoreSlim.cs(30,20): warning CA2000: Call System.IDisposable.Dispose on object created by 'new CancellationTokenSource(TimeSpan.FromSeconds(1))' before all references to it are out of scope (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2000) [D:\a\windows-terminal-quake\windows-terminal-quake\src\10-Core\Wtq\Wtq.csproj]