[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [DotGNU]Type.GetType and Assembly
From: |
Rhys Weatherley |
Subject: |
Re: [DotGNU]Type.GetType and Assembly |
Date: |
Mon, 03 Nov 2003 06:17:30 +1000 |
User-agent: |
KMail/1.4.3 |
On Monday 03 November 2003 06:01 am, David Podhola wrote:
> Hi all,
>
> Should specifying an assembly to 'Type.GetType' (e.g. Type.GetType(
> "Test2,Test2", true ) ) work?
> I have created a small project with 2 classes -> 1 exe + 1 dll and from
> the exe I am not able to load a type in the dll
> (System.TypeLoadException).
Probably. There is already a bug in the Savannah database (#4136) for this,
so it will get addressed eventually. In the meantime, you can split the load
into two steps, using "Assembly.Load" and then "Assembly.GetType".
Cheers,
Rhys.