3 ms·
> AOT is entirely independent of single file binaries. splitting hairs, but its is not independent. AoT is a required pre-requisite for single-binary creation.
by littlecranky67 3mo ago
> AOT is entirely independent of single file binaries.
splitting hairs, but its is not independent. AoT is a required pre-requisite for single-binary creation. You can't create single-binaries with JIT. And that is the big hurdle, lot of libraries do not support AoT and that is the blocker to create single-file binary. Once you have the AoT figured out, the single-binary creation is easy.
- fabian2k 3mo agoYes, you can. I am using that in production right now. An ASP.NET Core application as a self-contained single-file binary, without AOT. .NET AOT right now is a very specialized solution that isn't widely applicable. Self-contained and single-file binaries do work pretty much out of the box already. See the documention here for the PublishSingleFile and SelfContained options: https://learn.microsoft.com/en-us/dotnet/core/deploying/single-file/overview?tabs=cli#sample-project-file https://learn.microsoft.com/en-us/dotnet/core/deploying/sing...
- deleted 3mo ago[deleted]
- YoshiRulz 3mo agoOther way around, enabling AoT requires you also enable single-file