C#C
C#3y ago
Satan1c

❔ Can't use Aot publish format with MongoDB

Hello. I'd like to publish my bot with MongoDB, in AOT format, to make it consume less memory, but it runs into an error.
Is the MongoDB not supported for AOT publishing ?
I'm getting No suitable constructor found for serializer type: 'MongoDB.Bson.Serialization.Serializers.UInt64Serializer' error.
May I use some SQL db ?
Was this page helpful?