Re: Load Assembly Type.GetType("Class,Assembly")
- From: "Mohamed Zaki" <m_o_z_a_k_i@xxxxxxxx>
- Date: Fri, 6 Jan 2006 16:35:24 +0200
Thank you Mike, i tried the fully qualified name but the samething happened
:(
Regards,
Mohamed
"Mike Miller" <MikeMiller@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:0FAA721A-7FA5-4D8D-8832-C7EE0C56F130@xxxxxxxxxxxxxxxx
> Your right - it should load the type correctly if assembly can be found.
> I
> find that sometimes you need to use the fully qualified name of the
> assembly
> such as:
>
> System.Windows.Forms.Form, System.Windows.Forms, Version=1.0.5000.0,
> Culture=neutral, PublicKeyToken=b77a5c561934e089
>
> This is especially true if mutiple versions exists or the reference is
> ambiguous. Hope that helps.
> Mike
>
> "Mohamed Zaki" wrote:
>
>> Dear All,
>>
>> How Can i load an assembly located in the bin folder of an asp.net
>> application using the Type, ie.e
>> Type type=Type.GetType("Namespace.class,assembly"), i used the previous
>> command and it it returns null, is there any clues for what i'm missing.
>>
>> Regards,
>> Mohamed
>>
>>
>>
.
- References:
- Load Assembly Type.GetType("Class,Assembly")
- From: Mohamed Zaki
- Load Assembly Type.GetType("Class,Assembly")
- Prev by Date: Re: System.Timers.Timer Issue
- Next by Date: Re: Reading a <sectionGroup> in app.config
- Previous by thread: Load Assembly Type.GetType("Class,Assembly")
- Next by thread: Re: Load Assembly Type.GetType("Class,Assembly")
- Index(es):
Relevant Pages
|