[us...@lists.monobjc.net] dll.config paths in redistributable apps

2010-02-16 Thread anthony taranto
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 /

Re: [us...@lists.monobjc.net] dll.config paths in redistributable apps

2010-02-16 Thread Duane Wandless
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

Re: [us...@lists.monobjc.net] dll.config paths in redistributable apps

2010-02-16 Thread anthony taranto
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