Open
Description
Android application type
.NET Android (net7.0-android, net8.0-android, etc.)
Affected platform version
.NET 9+
Description
Related: dotnet/java-interop#1192
Related: dotnet/java-interop#1157
When setting $(EnableAotAnalyzer)
to true
, there are several warnings we will suppress for now. These will likely work under Mono, but will need to be fixed one day in .NET 10 or some future release that supports NativeAOT.
Ignoring AOT warnings like a reasonable place to start, so we can enable the analyzer and not introduce new warnings.
Creating an issue for now, so I can link to this issue from C# code comments.
Steps to Reproduce
Build Mono.Android.csproj
with EnableAotAnalyzer=true
.
Did you find any workaround?
No response
Relevant log output
No response