The assembly you pass to mono_jit_init () should a net 2.0 assembly so the runtime knows it has to load mscorlib from net 2.0.
Zoltan On 4/7/06, Robert Jordan <[EMAIL PROTECTED]> wrote: > Hi Thomas, > > > Hi Robert, > > > >>> i'm sure that's a dumb question, but i'm clueless about its solution.... > >>> In my classes i'm using the NET 2.0 class > >>> System.Reflection.Emit.DynamicMethod, which i compiled with Microsoft > >>> Visual C# 2005. > >>> When i want to load those assemblies into my embedded mono engine i > >>> get the error pasted below. > >>> Is that a mono bug or do i have to enable NET 2.0 features somehow? > >> > >> It's a feature. IIRC, you first need to execute the entry point > >> of a 2.0 assembly. This will activate the 2.0 profile. > > > > hmmmm, any examples for that? What _is_ this special entry point? > > Nothing special: static void Main () {} ;-) > > Robert > > _______________________________________________ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > _______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list