[Mono-dev] Searching the GAC w/ the embedded API

2008-04-21 Thread Casey Marshall
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

Re: [Mono-dev] Searching the GAC w/ the embedded API

2008-04-21 Thread Robert Jordan
Hi, Casey Marshall wrote: > 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

Re: [Mono-dev] Searching the GAC w/ the embedded API

2008-04-21 Thread Casey Marshall
On Mon, 2008-04-21 at 21:44 +0200, Robert Jordan wrote: > Hi, > > Casey Marshall wrote: > > 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

Re: [Mono-dev] Searching the GAC w/ the embedded API

2008-04-21 Thread Robert Jordan
Casey Marshall wrote: > Also, I was wondering (but didn't ask it that well) if it's possible to > load an assembly by name, e.g., just "foo.bar.dll" or "foo.bar", if that > assembly is in the GAC, or maybe a location in MONO_PATH, instead of > giving the full path to the DLL. Of course. See mono_a

Re: [Mono-dev] Searching the GAC w/ the embedded API

2008-04-21 Thread D Bera
> >>> 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. > >> Use assert(3) or glib's g_assert() instead. > >> > > > > Oh, oops, I mean I'm using assert. Sorry. Thi

Re: [Mono-dev] Searching the GAC w/ the embedded API

2008-04-21 Thread Robert Jordan
Casey Marshall wrote: >>> 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. >> Use assert(3) or glib's g_assert() instead. >> > > Oh, oops, I mean I'm using assert. Sorry. T