Hi!
This bug was difficult to track down as it only happens on some Android devices.
SfChart will throw a System.ArgumentException: Not a legal OleAut date exception, when the following is true:
Attached is a sample app that has AOT enabled.
IE the following settings in csproj for Release configuration
AotAssemblies = true
EnableLLVM=true
BundleAssemblies=true
If you run it on one of the devices above the error will occur. If you run using Debug configuration, or update Release config and disable AOT, the error does not occur.
It appears that Startup Tracing with a Custom Profile resolves my issue, as I do not use an SfChart when my app launches, so I will be using that moving forward.
Please let me know if you have any questions.
Thanks,
Ant
Attachment:
SfChart_AOTError_a5fdd144.zip