-
Couldn't load subscription status.
- Fork 561
Open
Labels
Area: App RuntimeIssues in `libmonodroid.so`.Issues in `libmonodroid.so`.Area: App+Library BuildIssues when building Library projects or Application projects.Issues when building Library projects or Application projects.Area: NativeAOTIssues that only occur when using NativeAOT.Issues that only occur when using NativeAOT.enhancementProposed change to current functionality.Proposed change to current functionality.
Milestone
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
charlesroddie
Metadata
Metadata
Assignees
Labels
Area: App RuntimeIssues in `libmonodroid.so`.Issues in `libmonodroid.so`.Area: App+Library BuildIssues when building Library projects or Application projects.Issues when building Library projects or Application projects.Area: NativeAOTIssues that only occur when using NativeAOT.Issues that only occur when using NativeAOT.enhancementProposed change to current functionality.Proposed change to current functionality.