I have been using .NET Core for some time. And I created a console application. Everything works, however, I heard that I can compile the .NET Core assembly into an assembly using CrossGen. Which cites their documentation:
To speed up the launch of the application, CoreCLR includes a CrossGen tool that can precompile MSIL code into native code.
I tried it a long time ago and I have no idea how I can do this. There is very little documentation for CrossGen and even less questions here at StackOverflow.
How can I compile a .NET Core application for native code using CrossGen on Mac? I would appreciate it if someone could answer this question with the examples given.
source share