-
-
Notifications
You must be signed in to change notification settings - Fork 826
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make Mailkit AOT/Net9 compatible #1844
Comments
D'oh, I was just hanging out with the Microsoft.iOS and Android team leads for the past 3 days. Wish I had gotten this request a day or two ago. Oh well. It's probably as simple as adding net-9.0 to the tfm's? |
… enums) This helps with jstedfast/MailKit#1844
It seems all of the AOT compatibility issues are in MimeKit and not MailKit. I've fixed the core MimeKit stuff to be AOT compatible (e.g. MimeKitLite should be completely AOT compatible now), but MimeKit still isn't because of all of the reflection needed in the MimeKit.Cryptography namespace - specifically the SqliteCertificateDatabase. I don't see a path to fixing this, unfortunately. |
Part of the ongoing work for jstedfast/MailKit#1844
Part of the ongoing work for issue #1844
I am using Mailkit in my app for Windows, Android, and iOS. For iOS I must target SDK V17 now. This is supported by Microsoft.iOS only, not more by Xamarin. To produce a release with VS2022, all assemblies should be AOT compatible. Currently I can't release my app for iOS because MailKit is not AOT compatible.
The text was updated successfully, but these errors were encountered: