When building a maui app referencing Serilog.Sinks.Xamarin 1.0.0, I get the following warnings:
warning CA1416: This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'LoggerConfigurationXamarinExtensions.NSLog(LoggerSinkConfiguration, LogEventLevel, string, IFormatProvider)' is only supported on: 'iOS' 15.4 and later
warning CA1416: This call site is reachable on: 'Android' 21.0 and later. 'LoggerConfigurationXamarinExtensions.AndroidLog(LoggerSinkConfiguration, LogEventLevel, string, IFormatProvider)' is only supported on: 'Android' 31.0 and later
Indeed, here are the supported platform versions as visible in the Serilog.Sinks.Xamarin 1.0.0 nuget's assemblies:
Bug report
When building a maui app referencing
Serilog.Sinks.Xamarin 1.0.0
, I get the following warnings:Indeed, here are the supported platform versions as visible in the
Serilog.Sinks.Xamarin 1.0.0
nuget's assemblies:The reason for it is that
serilog-sinks-xamarin
is missingSupportedOSPlatformVersion
in itscsproj
:Could you please fix that and publish a new version of the nuget ? Thanks