[Mono-osx] Reference MonoMac assembly

diekleinekuh markus-henschel at gmx.de
Tue Oct 25 11:17:35 EDT 2011


I want to reference MonoMac from my application. I can add a reference to it
in MonoDevelop but when I try to start the application a
FileNotFoundException for MonoMac.dll is thrown as soon as soon as any
MonoMac code is called. This doesn't happen when I create a new application
from the MonMac template in MonoDevelop. What's also strange is that MonoMac
is listed as being version 

My app is multi platform and should perform some things only when it detects
that it runs on MaxOS. So creating a special MonoMac project is not what I
want. I just grabbed the MonoMac.dll that gets copied to the output
directory of a dummy MonoMac project, dropped it to my application's
directory and referenced it from there. This works but I would like to
reference it directly from the Mono runtime. 

I searched for MonoMac.dll on disk but didn't find it anywhere except for
the output directory mentioned before. Might it be that it gets created on
the fly when building a MonoMac project? What should I do for a use case
like mine? 

View this message in context: http://mono.1490590.n4.nabble.com/Reference-MonoMac-assembly-tp3937083p3937083.html
Sent from the Mono - OSX mailing list archive at Nabble.com.

More information about the Mono-osx mailing list