--

Apologize for late reply. I assume that you already have your asnwer, if not the please read: By default Microsoft.Extensions.DependencyInjection is working in NativeAOT, but not with reflection disabled. That's why I create separate package to augment that DI library. I cannot recommend going with disabled reflection, since that's too extreme for many. Can you try without `IlcDisableReflection` and check how it works on your end? It should working fine because default NativeAOT supports reflection.

--

--

Andrii Kurdiumov
Andrii Kurdiumov

Written by Andrii Kurdiumov

Math lover, lost in the woods of software development

No responses yet