Handlebars-Net / Handlebars.Net

A real .NET Handlebars engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question] Is Native AOT supported?

jonas-stjernquist opened this issue · comments

Does Handlebars.NET have support for publishing the application with Native AOT?

<PropertyGroup>
    <PublishAot>true</PublishAot>
</PropertyGroup>

If not would it be a suitable future feature in the road map?

Seems like the current use of System.Reflection is a stopper.

https://learn.microsoft.com/en-us/dotnet/core/deploying/native-aot/?tabs=net7%2Cwindows

I do not think it is possible due to heavy use of Expression Trees.