Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 844 Bytes

File metadata and controls

14 lines (9 loc) · 844 Bytes

Use libraries with Native AOT

Many popular libraries used in ASP.NET Core projects currently have some compatibility issues when they're incorporated into projects that target Native AOT, such as:

  • Using reflection to inspect and discover types
  • Loading libraries conditionally at runtime
  • Generating code on the fly to implement functionality

Libraries that use these dynamic features require updates to work with Native AOT. Various tools are available for applying the necessary updates, such as Roslyn source generators.

Library authors hoping to support Native AOT are encouraged to review the following articles: