FreeAndNil commented on issue #239:
URL: 
https://github.com/apache/logging-log4net/issues/239#issuecomment-4486586730

   The EventLogAppender is not available on netstandard2.0.
   That's why we deliver a separate net462 assembly of log4net in the NuGet 
package.
   Your net472 and net80 applications should pick up that assembly 
automatically via target framework fallback.
   For your net80-android MAUI application the warning is expected and 
harmless, assuming you are not actually using the EventLogAppender there.
   
   When targeting net80 on Windows you currently have no option for writing to 
the Windows Event Log via log4net.
   Supporting it would require adding System.Diagnostics.EventLog as a 
dependency, which is a Windows-only NuGet package.
   Adding a platform-specific dependency conflicts with log4net's 
cross-platform nature for the net8+ target, so we are hesitant to do so.
   
   If you are actively using the EventLogAppender on .NET 8+, please share your 
use case in #267.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to