Closed neoedmund closed 1 year ago
feature/NativeAOT project is no longer maintained in this repo. It was integrated into shipping .NET.
Please follow the instructions and sample at https://learn.microsoft.com/dotnet/core/deploying/native-aot/?tabs=net7%2Cwindows#build-native-libraries
https://github.com/dotnet/runtime is the right place to open issues against native AOT support.
I followed the steps in https://github.com/dotnet/runtimelab/tree/feature/NativeAOT/samples/NativeLibrary
after
dotnet publish /p:NativeLib=Shared /p:SelfContained=true -r win-x64 -c release
the only dll is generated, but seems no exports in it. and of course cannot be used by
LoadLibrary.c
Anything I missed?