3 ms·
So can it compile to native machine code as an executable file, link in all the needed libraries and just run as-is now? Or does it need a huge amount of suppo
by RachelF 4y ago
So can it compile to native machine code as an executable file, link in all the needed libraries and just run as-is now?
Or does it need a huge amount of supporting .NET libraries included also installed on the target?
- smcl 4y agoCheck the docs out: https://github.com/dotnet/runtime/blob/main/src/coreclr/nativeaot/docs/compiling.md https://github.com/dotnet/runtime/blob/main/src/coreclr/nati... Seems to be the case that you just need to install the Microsoft.DotNet.ILCompiler package, and then `dotnet publish...` with the desired target.