Skip to content

Is ahead-of-time native-compilation supported? #244

Closed Answered by dcuccia
habbes asked this question in Q&A
Discussion options

You must be logged in to vote

I'd add that there is full .NET Native AOT compilation with the latest releases of the framework, so it may be possible to use the wrapper and still have full native compilation. I do not know, out of the box, which features the wrapper may use that are incompatible with that compiler flag.

If you are worried about managing a .NET deployment on the machine, a second possibility is that you could compile the .NET app as a) self-contained, such that it will package the runtime alongside the app in the deployment folder, and b) trimmed, such that unnecessary code will be removed to reduce the size of the package.

https://learn.microsoft.com/en-us/dotnet/core/deploying/

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by MikeYeager
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants