Can run program with Mono but not with Visual Studio Mac
问题 So I have a C# program that I'm making in Visual Studio Mac 2019. It uses the SFML.Net framework which depends on a dynamic library: libcsfml-graphics.2.5.0.dylib . Internally, the framework has a method called sfRenderWindow_createUnicode(...) . This method uses a DLLImport for CSFML.graphics . If I run the program in Visual Studio, I get a DllNotFoundException with message csfml-graphics . In my global config file for Mono, I have a DLL Mapping: <dllmap dll="csfml-graphics" target="libcsfml