Currently this library does not support AOT compilation. You get the following error: PlatformNotSupportedException: Dynamic code generation is not supported on this platform.
We are building a small application that needs to query data from Dynamics and would ideally like to build it with AOT, but this is currently not possible.