Hello,
I'm building an application using monobjc. This application has a dll
that relies on a compiled c library (dylib). When running my
application using the mono installation, I have a dll.config file with
the following contents:
configuration
dllmap dll=foo target=libfoo.dylib /
I embed my app so your solution will most likely be different. I call:
mono_config_parse ([configFile UTF8String]);
Where configFile contains the full path to my target libfoo.dylib.
You can also do this:
MONO_LOG_LEVEL=debug MONO_LOG_MASK=dll mono MyProgram.exe
Which will give lots of debug
I was able to solve my problem by defining
target=@executable_path/libfoo.dylib. this has worked great.
I have a new issue now. I need to embed a dll into my redistributable
application. Some code is trying to load this dll using
Assembly.LoadWithPartialName() at runtime. It seems that embedding
3 matches
Mail list logo