3 ms·
Is static linking supported now? It's the one blocker for me to use C# in weird places. I'm good at hacking the underlying environment to make it work, but dyna
by fwsgonzo 3y ago
Is static linking supported now? It's the one blocker for me to use C# in weird places. I'm good at hacking the underlying environment to make it work, but dynamic loading is not on the table.
- neonsunset 3y agoIt is - https://learn.microsoft.com/en-us/dotnet/core/deploying/native-aot/interop#linking https://learn.microsoft.com/en-us/dotnet/core/deploying/nati.... You can even do the reverse and statically link NativeAOT-built libraries into existing projects written in "unmanaged" languages (though that naturally limits you to C interop).