How could I use protobuf-net in an AOT dll

470 views Asked by At

In an AOT environment, NativeAOT reflection is something that can't be used (or at least it crashes for me, and they seem to suggest this is the case too). Is there an alternative way to utilize the library to deserialize proto messages?

I can use the raw proto library (as it has a static Parser) however there is a 2GB limit is a problem for this project.

0

There are 0 answers