Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Is Native AOT supported? #571

Open
jonas-stjernquist opened this issue Mar 3, 2024 · 1 comment
Open

[Question] Is Native AOT supported? #571

jonas-stjernquist opened this issue Mar 3, 2024 · 1 comment
Labels

Comments

@jonas-stjernquist
Copy link

jonas-stjernquist commented Mar 3, 2024

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

@oformaniuk
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants