Skip to content

WinForms: Fix handle errors with net10 dark mode #543

WinForms: Fix handle errors with net10 dark mode

WinForms: Fix handle errors with net10 dark mode #543

Triggered via push July 21, 2026 05:16
Status Success
Total duration 9m 47s
Artifacts

dotnet.yml

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

Annotations

11 warnings
build (ubuntu-24.04)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build (macos-26)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build (macos-26): NAPS2.Lib/Config/Model/ConfigLookup.cs#L16
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperties()'. The parameter 'type' of method 'NAPS2.Config.Model.ConfigLookup.GetPropertyData(Type)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
build (macos-26): NAPS2.Lib/Config/Model/ScopedConfig.cs#L19
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The return value of method 'NAPS2.Config.Model.ConfigLookup.Node.Type.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
build (macos-26): NAPS2.Sdk/Remoting/RemotingHelper.cs#L44
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The parameter 'exceptionType' of method 'NAPS2.Remoting.RemotingHelper.CreateExceptionType(Type)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
build (macos-26): NAPS2.Sdk/Remoting/RemotingHelper.cs#L20
Using member 'System.Reflection.Assembly.GetType(String, Boolean)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed by trimming. If the type name is a string literal, consider using Type.GetType instead.
build (macos-26): NAPS2.Lib/Config/Model/ConfigLookup.cs#L16
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperties()'. The parameter 'type' of method 'NAPS2.Config.Model.ConfigLookup.GetPropertyData(Type)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
build (macos-26): NAPS2.Lib/Config/Model/ScopedConfig.cs#L19
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The return value of method 'NAPS2.Config.Model.ConfigLookup.Node.Type.get' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
build (macos-26): NAPS2.Sdk/Remoting/RemotingHelper.cs#L44
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Activator.CreateInstance(Type)'. The parameter 'exceptionType' of method 'NAPS2.Remoting.RemotingHelper.CreateExceptionType(Type)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
build (macos-26): NAPS2.Sdk/Remoting/RemotingHelper.cs#L20
Using member 'System.Reflection.Assembly.GetType(String, Boolean)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed by trimming. If the type name is a string literal, consider using Type.GetType instead.
build (windows-2025)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/