Skip to content

WinForms: Fix dark mode link color #366

WinForms: Fix dark mode link color

WinForms: Fix dark mode link color #366

Triggered via push August 31, 2024 21:20
Status Failure
Total duration 3m 46s
Artifacts

dotnet.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 18 warnings
build (windows-2022): NAPS2.Lib.WinForms/EtoForms/WinForms/WinFormsDarkModeProvider.cs#L41
'Application' does not contain a definition for 'SetColorMode'
build (windows-2022): NAPS2.Lib.WinForms/EtoForms/WinForms/WinFormsDarkModeProvider.cs#L41
The name 'SystemColorMode' does not exist in the current context
build (windows-2022): NAPS2.Lib.WinForms/EtoForms/WinForms/WinFormsDarkModeProvider.cs#L41
The name 'SystemColorMode' does not exist in the current context
build (windows-2022): NAPS2.Lib.WinForms/EtoForms/WinForms/WinFormsEtoPlatform.cs#L36
'Application' does not contain a definition for 'SetColorMode'
build (windows-2022): NAPS2.Lib.WinForms/EtoForms/WinForms/WinFormsEtoPlatform.cs#L36
The type or namespace name 'SystemColorMode' does not exist in the namespace 'System.Windows.Forms' (are you missing an assembly reference?)
build (windows-2022): NAPS2.Lib.WinForms/EtoForms/WinForms/WinFormsDarkModeProvider.cs#L41
'Application' does not contain a definition for 'SetColorMode'
build (windows-2022): NAPS2.Lib.WinForms/EtoForms/WinForms/WinFormsDarkModeProvider.cs#L41
The name 'SystemColorMode' does not exist in the current context
build (windows-2022): NAPS2.Lib.WinForms/EtoForms/WinForms/WinFormsDarkModeProvider.cs#L41
The name 'SystemColorMode' does not exist in the current context
build (windows-2022): NAPS2.Lib.WinForms/EtoForms/WinForms/WinFormsEtoPlatform.cs#L36
'Application' does not contain a definition for 'SetColorMode'
build (windows-2022): NAPS2.Lib.WinForms/EtoForms/WinForms/WinFormsEtoPlatform.cs#L36
The type or namespace name 'SystemColorMode' does not exist in the namespace 'System.Windows.Forms' (are you missing an assembly reference?)
build (macos-14)
The job was canceled because "windows-2022" failed.
build (macos-14)
The operation was canceled.
build (windows-2022): NAPS2.Sdk.Tests/Remoting/TlsScanServerTests.cs#L13
'X509Certificate2.X509Certificate2(byte[])' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
build (windows-2022): NAPS2.Sdk.Tests/Remoting/ManualIpScanServerTests.cs#L11
'X509Certificate2.X509Certificate2(byte[])' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
build (windows-2022): NAPS2.Sdk.Tests/Remoting/FallbackScanServerTests.cs#L13
'X509Certificate2.X509Certificate2(byte[])' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
build (windows-2022): NAPS2.Lib.WinForms/WinForms/ToolStripDoubleButton.cs#L91
Dereference of a possibly null reference.
build (windows-2022): NAPS2.Lib.WinForms/WinForms/ToolStripDoubleButton.cs#L91
Possible null reference argument for parameter 'image' in 'void Graphics.DrawImage(Image image, Point point)'.
build (windows-2022): NAPS2.Lib.WinForms/WinForms/ToolStripDoubleButton.cs#L95
Dereference of a possibly null reference.
build (windows-2022): NAPS2.Lib.WinForms/WinForms/ToolStripDoubleButton.cs#L95
Possible null reference argument for parameter 'image' in 'void ControlPaint.DrawImageDisabled(Graphics graphics, Image image, int x, int y, Color background)'.
build (windows-2022): NAPS2.Lib.WinForms/WinForms/ToolStripDoubleButton.cs#L104
Dereference of a possibly null reference.
build (windows-2022): NAPS2.Lib.WinForms/WinForms/ToolStripDoubleButton.cs#L104
Possible null reference argument for parameter 'image' in 'void Graphics.DrawImage(Image image, Point point)'.
build (windows-2022): NAPS2.Lib.WinForms/WinForms/ToolStripDoubleButton.cs#L109
Dereference of a possibly null reference.
build (macos-14): NAPS2.Lib.Mac/EtoForms/Mac/MacListView.cs#L55
'NSPasteboard.NSPasteboardTypeFileUrl' is obsolete: 'Use the 'NSPasteboardType' enum instead.'
build (macos-14): NAPS2.Lib.Mac/EtoForms/Mac/MacListView.cs#L344
'NSPasteboard.NSPasteboardTypeFileUrl' is obsolete: 'Use the 'NSPasteboardType' enum instead.'
build (macos-14): NAPS2.Lib.Mac/EtoForms/Mac/MacListView.cs#L350
'NSPasteboard.NSPasteboardTypeFileUrl' is obsolete: 'Use the 'NSPasteboardType' enum instead.'
build (macos-14): NAPS2.Lib.Mac/EtoForms/Mac/MacListView.cs#L383
'NSPasteboard.NSPasteboardTypeFileUrl' is obsolete: 'Use the 'NSPasteboardType' enum instead.'
build (macos-14): NAPS2.Lib.Mac/EtoForms/Mac/MacListView.cs#L55
'NSPasteboard.NSPasteboardTypeFileUrl' is obsolete: 'Use the 'NSPasteboardType' enum instead.'
build (macos-14): NAPS2.Lib.Mac/EtoForms/Mac/MacListView.cs#L344
'NSPasteboard.NSPasteboardTypeFileUrl' is obsolete: 'Use the 'NSPasteboardType' enum instead.'
build (macos-14): NAPS2.Lib.Mac/EtoForms/Mac/MacListView.cs#L350
'NSPasteboard.NSPasteboardTypeFileUrl' is obsolete: 'Use the 'NSPasteboardType' enum instead.'
build (macos-14): NAPS2.Lib.Mac/EtoForms/Mac/MacListView.cs#L383
'NSPasteboard.NSPasteboardTypeFileUrl' is obsolete: 'Use the 'NSPasteboardType' enum instead.'