Native AoT dependency issues
I'm not familiar with how any of these concepts work - I just found a library called NPlug (for developing VSTs using C#), and it uses PublishAot to compile.
When I try to add any dependencies, like SkiaSharp or OpenTK, the vst can't find the dlls. I managed to brute force it for SkiaSharp like this:
But openTK prints (when making a gamewindow):
I tried setting the dll resolver for GLFWProvider to point to
I have selfcontained enabled, and I'm publishing via:
This produces the binaries for SkiaSharp, glfw, and ManagedBass. The vst3 can't see these dlls, and I'm wondering if there's a way to package the binaries together.
Sorry if this is missing anything, I'm not really sure on how this all works.
When I try to add any dependencies, like SkiaSharp or OpenTK, the vst can't find the dlls. I managed to brute force it for SkiaSharp like this:
But openTK prints (when making a gamewindow):
I tried setting the dll resolver for GLFWProvider to point to
glfw3.dll , but that didn't work.I have selfcontained enabled, and I'm publishing via:
This produces the binaries for SkiaSharp, glfw, and ManagedBass. The vst3 can't see these dlls, and I'm wondering if there's a way to package the binaries together.
Sorry if this is missing anything, I'm not really sure on how this all works.