-
Notifications
You must be signed in to change notification settings - Fork 564
Open
Labels
Area: App RuntimeIssues in `libmonodroid.so`.Issues in `libmonodroid.so`.Area: F#Issues with F# (fsharp) projectsIssues with F# (fsharp) projects
Milestone
Description
Description
I could swear this worked as soon as I installed 9.0.100-preview.4.24267.66 (as mentioned in dotnet/runtime#102166), but now a minimal F# Android application on .NET 9 crashes reliably across ABIs.
Reproduction Steps
dotnet new install Avalonia.Templates
dotnet new avalonia.xplat -lang F# -o TstFs
Change TFM to net9.0-android and add
<PropertyGroup Condition="'$(Configuration)'=='Release'">
<PublishTrimmed>True</PublishTrimmed>
<TrimMode>partial</TrimMode>
<RunAOTCompilation>True</RunAOTCompilation>
</PropertyGroup>
Run in Release mode either in x64 emulator or on an arm64 device.
Expected behavior
Applications launches.
Actual behavior
Crashes on the splash screen.
Regression?
Yes, works with SDK 9.0.100-preview.2.24157.14 or TFM net8.0-android.
Known Workarounds
No response
Configuration
9.0.100-preview.4.24267.66
Win 11
Other information
No response
Metadata
Metadata
Assignees
Labels
Area: App RuntimeIssues in `libmonodroid.so`.Issues in `libmonodroid.so`.Area: F#Issues with F# (fsharp) projectsIssues with F# (fsharp) projects