[Mono-osx] building mcocoa

Jesse Jones jesjones at mindspring.com
Wed Mar 11 08:45:16 EDT 2009


On Mar 10, 2009, at 2:43 PM, Martin Smith wrote:

> Hi Jesse,
>
> I didn't get around to trying this. We're actually embedding mono,  
> and that's worked properly without launching from MObjC.  One  
> problem that we're having now is getting the dylib to be found.   
> Unless we do a dllmap to map the dylib to a specific location, it  
> looks in /usr/local/lib.  It's not a problem right now, but we'll  
> need a better solution when we release.  Right now, we put all the  
> mono dlls and dylib files into the Resources folder of our bundle.   
> Do you have any ideas on how to get mono to look in that path?  If  
> we could specify the dllmap in code, that would probably help, but  
> the file could be anywhere on their disk.

I would try setting the working directory to Resources in your app.

   -- Jesse


More information about the Mono-osx mailing list