Hello, Have you install Monobjc's assemblies in the GAC with the GacInstall.sh script ?
If yes, then the native libraries are installed in Mono and do not need to be copied in the MacOS folder. Regards, Laurent Etiemble. 2010/3/3 Bruce McLeod <br...@teknologika.com> > Hi List, > > It looks like the compilation of a project in monodevelop is missing the > step of copying the libmonobjc.2.dylib in to the application folder. Going > file, new project then running it run returns the following. > > Unhandled Exception: Monobjc.ObjectiveCException: The 'libmonobjc.2.dylib' > library was not found. Please check that you have correctly installed it. > ---> System.DllNotFoundException: @executable_path/libmonobjc.2.dylib > at (wrapper managed-to-native) > Monobjc.Runtime.ObjectiveC20.NativeMethods:hook_thread_lifecycle () > at Monobjc.Runtime.ObjectiveC20.ObjectiveC20Bridge.HookThreadLifecycle () > [0x00000] in <filename unknown>:0 > --- End of inner exception stack trace --- > at Monobjc.Runtime.ObjectiveC20.ObjectiveC20Bridge.HookThreadLifecycle () > [0x00000] in <filename unknown>:0 > at Monobjc.Runtime.RuntimeBridge.get_Current () [0x00000] in <filename > unknown>:0 > at (wrapper synchronized) Monobjc.Runtime.RuntimeBridge:get_Current () > at Monobjc.ObjectiveCRuntime.DefineClass (System.Type type) [0x00000] in > <filename unknown>:0 > at Monobjc.ObjectiveCRuntime.ScanAssembly (System.Reflection.Assembly > assembly) [0x00000] in <filename unknown>:0 > > Once I manually copy the libmonobjc.2.dylib into the macos directory in the > application folder it works fine, but it is a bit of a gotcha for a newbie > like me . > > Regards, > > Bruce > > On 03/03/2010, at 7:47 PM, Laurent Etiemble wrote: > > Hello, > > There is almost nothing to do as the binaries are available in a > repository. > > I have published a tutorial on the MonoDevelop integration that describes > all the steps as well as a demonstration of the Soft Debugger support: > http://www.monobjc.net/index.php?page=monodevelop-integration > > Regards, Laurent Etiemble. > > 2010/3/2 Bruce McLeod <br...@teknologika.com> > >> Laurent, >> >> Are there any included binaries for the MonoDevelop integration? Or is it >> necessary to download, compile and install from Git Hub? >> >> Regards, >> >> Bruce McLeod >> >> >> On 03/03/2010, at 8:55 AM, Laurent Etiemble wrote: >> >> Hello, >> >> I am proud to announce that a new release of Monobjc bridge is available ( >> http://www.monobjc.net/). The Monobjc bridge provides the necessary tools >> to develop and run .NET applications (written in C#, VB.NET<http://vb.net/>, >> etc.) that interact with Objective-C frameworks and libraries under Mac OS >> X. Existing Objective-C classes can be used in .NET code in an almost >> transparent manner. >> >> What's new in the 2.0.492.0 release: >> - New attributes for friendly debugger support. >> - New script to ease GAC installation. >> - MonoDevelop integration with Interface Builder integration and Soft >> Debugger support (thanks to Eric Butler http://github.com/codebutler). >> >> As usual: >> - Downloads: http://www.monobjc.net/index.php?page=downloads >> - Tutorials : http://www.monobjc.net/index.php?page=tutorials >> - Samples: http://www.monobjc.net/index.php?page=sample-applications >> - Programming Guide: >> http://www.monobjc.net/index.php?page=programming-guide >> >> Feedback, remarks and donations are welcomed !!! >> >> Regards, Laurent Etiemble. >> >> >> > >