.Net8 and AOT
#2617
Replies: 2 comments 1 reply
-
Interested in this as well. Probably the biggest challenge lies with Serialization - at least that's what a very simple AOT test fails with: System.InvalidOperationException: Reflection-based serialization has been disabled for this application.
Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Sorry, I don't know anything about AOT. What should we do to enable this? I guess it means we should at least start targeting .NET 8 instead of .NET 6 ;-) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As .Net 8 is being released next week I was wondering if there is any plan to enable AOT for the library as it allows for far faster startup times, which can help a lot for certain use cases.
Cheers!
Beta Was this translation helpful? Give feedback.
All reactions