Hello,
Welcome to our Microsoft Q&A platform!
If I set "AotAssemblies>true</AotAssemblies" in the android .csproj, does this AOT the shared assembly too?
If we change code or set some properties on Android platform, it will only work on the Android platform.
There are some good threads about this, you can first read through them:
https://stackoverflow.com/questions/37377106/enable-aot-in-xamarin-for-android-visual-studio
https://stackoverflow.com/questions/51961132/xamarin-forms-android-aot-support
Best Regards,
Jessie Zhang
---
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.