Kapp, Josh wrote: > Hi, > > > > I've got a DLL assembly containing some generic types that runs fine > when linked to a .NET app and run from the command line. However, when > I call into same assembly via embed mono into a Cocoa app I get a > TypeLoadException. If I remove the generic types it runs fine. Is > there something I need to call on the embedded API to enable generic > support?
Pass a 2.0 assembly to mono_jit_init (). If you're compiling Mono from SVN HEAD (1) you could use the new mono_jit_init_version () instead. The format of the version parameter is "v2.0.50727". http://www.mail-archive.com/[email protected]/msg10753.html Robert (1) Maybe the feature is already releases with Mono 1.2.*, but I'm not sure. _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
