You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
Services registered by convention or as self bindings now resolve in applications published with NativeAOT. The generated type discovery code now tells the trimmer to keep the public constructors of every implementation type it binds. Before, those constructors could be trimmed, and resolving the service failed with "A suitable constructor … could not be located". Rebuild assemblies that use type discovery with this version to get the fix. (#1220)