[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 anthony taranto
, Feb 16, 2010 at 3:49 PM, anthony taranto anthony.tara...@gmail.com wrote: 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

[us...@lists.monobjc.net] DllImport paths

2010-03-16 Thread anthony taranto
Hello, I'm going to ship a custom framework in my monobjc application's app bundle. This framework is located at Contents/Frameworks/Foo.framework/Framework. When I build a _non_ standalone application bundle (mkappl), i'm able to successfully invoke methods in this framework using

Re: [us...@lists.monobjc.net] DllImport paths

2010-03-16 Thread anthony taranto
/Frameworks/Foo.framework/Foo, 9): image not found'. 3/16/10 6:55:02 PM [0x0-0xe33e33].com.MyCompany.MyProject[9524] System.DllNotFoundException: Contents/Frameworks/Foo.framework/Foo On Tue, Mar 16, 2010 at 6:42 PM, anthony taranto anthony.tara...@gmail.com wrote: Hello, I'm going to ship a custom

Re: [us...@lists.monobjc.net] DllImport paths

2010-03-17 Thread anthony taranto
library. In you case, the DllImport tag will look like: [DllImport(@executable_path/../Frameworks/Foo.framework/Foo, ...)] Regards, Laurent Etiemble. 2010/3/17 anthony taranto anthony.tara...@gmail.com Here's the mono output when running my standalone app with MONO_LOG_LEVEL=debug

[us...@lists.monobjc.net] Intermittent crash potentially related to garbage collection

2010-05-14 Thread anthony taranto
I'm experiencing an intermittent crash with my multi-threaded monobjc application on OSX 10.6 Snow Leopard. There doesn't seem to be any reliable sequence of user interaction that triggers this crash, but the crash dumps all show a similar pattern: EXC_CRASH in thread 0 while another thread is

[us...@lists.monobjc.net] Re: [us...@lists.monobjc.net] Creating an agent application

2010-06-24 Thread anthony taranto
Monobjc's NSApplication.Bootstrap() method actually calls TransformProcessType() and turns your app into a foreground (ie, non agent) app at startup. This will clobber whatever plist settings you have. Luckily, that's the _only_ thing that Bootstrap() is doing, so you can just choose to not call

Re: [us...@lists.monobjc.net] [patch] How to _not_ embed a dll using the mkbundle nant task

2010-09-27 Thread anthony taranto
. - Set the BaseDirectory of the current AppDomain to point to the Resources folder. - Use the MONO_LOG_LEVEL environment variable to see the assembly resolution logs. Regards, Laurent Etiemble. 2010/9/21 anthony taranto anthony.tara...@gmail.com and of course i forgot the attachment. here

[users@lists.monobjc.net] mkbundle task failing with mono 2.8

2010-11-09 Thread anthony taranto
Hello, It looks like the mkbundle NAnt task is failing with the mono 2.8 builds for os x. apparently this is because the mono.pc file now does not define any library or include paths. these paths are instead defined in the mono-2.pc pkgconfig file. I had to make a simple change to the file