5 ms·
> Can .NET deploy a static binary nowadays? You can, as sbelskie mentioned below. In .Net 6, it's available as a Preview [1]. But it's going to ship with the m
by jeswin 5y ago
> Can .NET deploy a static binary nowadays?
You can, as sbelskie mentioned below. In .Net 6, it's available as a Preview [1]. But it's going to ship with the main framework in 7.0 [2].
The preview works quite well. You can build self-contained, smaller executables, and shared libraries callable from say, C code.
[1]: https://github.com/dotnet/runtimelab/blob/feature/NativeAOT/docs/using-nativeaot/compiling.md https://github.com/dotnet/runtimelab/blob/feature/NativeAOT/...
[2]: https://github.com/dotnet/runtime/issues/61231 https://github.com/dotnet/runtime/issues/61231