Hello,
I have downloaded your project and tested it in release mode
on Windows and Android without any changes. I also tested updating the Nuget Package to 9.0.40
. They all work as expected.
Therefore, this is not an issue with the AOT compiler. You could repair or update Visual Studio to the latest version and then run this project for testing. In my test environment, I used Version 17.13.0 Preview 1.0
.
Best Regards,
Alec Liu.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
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.