[Mono-list] Embedding Mono and .Net 2.0 assemblies
Eoin Coffey
ecoffey at gmail.com
Fri Jul 27 10:26:49 EDT 2007
Hello,
I'm working on embedding mono into a C application. Recently I moved some
of the relevant C# code over to using .net 2.0 constructs (like generics).
Everything happily compiled with gmcs. The problem I'm having is when my
embedded runtime attempts to load an assembly with references to 2.0 stuff
it can not find the required dlls (i.e.
System.Collections.Generic.Dictionary`2).
I found this thread on my problem:
http://lists.ximian.com/pipermail/mono-devel-list/2006-April/018039.html
The solution in defined there seems odd, since you pass a char* to
mono_jit_init that is the name of the AppDomain you're operating under,
unless I'm mistaken.
So in short my question is, is passing the assembly to mono_jit_init the
right solution, or do I need to do something else / extra?
Thanks,
-Eoin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070727/ffacd2a8/attachment.html
More information about the Mono-list
mailing list