[Mono-dev] Searching the GAC w/ the embedded API
Casey Marshall
cmarshall at pacificbiosciences.com
Mon Apr 21 14:38:30 EDT 2008
I'm developing an application that will embed Mono, and I'd like to be
able to find classes by name by searching what's installed in the GAC,
instead of specifying the assembly to get the class from.
That is, I'm following the recipe from the embedding mono web page:
- Create a domain.
- Load assemblies into that domain (by path).
- Get an image from that assembly.
- Load classes by name from that image.
What I was wondering was whether or not there was a simpler way to load
an assembly, or lookup a class, by simply querying the GAC instead of
loading the requisite assemblies beforehand.
It's OK if the answer is "search the GAC yourself," I'm just curious
what options there are.
Also, is it possible to disable the crash dump in mono? I'm using
abort() in a test suite, and it would be nice to not have a screenful of
gdb info when a test fails.
Thanks!
More information about the Mono-devel-list
mailing list