Home All Groups Group Topic Archive Search About

how to load a 1.1 version assembly into 2.0 environment?

Author
4 Oct 2006 4:02 PM
admin
Hi, all

I have met a very trouble problem...

I have a thirdpart component which can only run at 1.1 version, but I
want to import and use it at a 2.0 project...

I have tried to use reflection, but it didn't work...

how can I do ?

Author
4 Oct 2006 6:26 PM
EmeraldShield
Normally you just reference it like normal.  Add a reference and it should
work.  I have lots of 1.1 dll's and components I wrote that load under 2.0
apps just fine.



<ad***@5inet.net> wrote in message
Show quote
news:1159977778.881849.233080@i42g2000cwa.googlegroups.com...
> Hi, all
>
> I have met a very trouble problem...
>
> I have a thirdpart component which can only run at 1.1 version, but I
> want to import and use it at a 2.0 project...
>
> I have tried to use reflection, but it didn't work...
>
> how can I do ?
>
Author
8 Oct 2006 2:48 PM
admin
thanks for reply.
I know this, but this component has been proved cannot run in 2.0 . it
will occur a outofmemory exception...


EmeraldShield wrote:
Show quote
> Normally you just reference it like normal.  Add a reference and it should
> work.  I have lots of 1.1 dll's and components I wrote that load under 2.0
> apps just fine.
>
>
>
> <ad***@5inet.net> wrote in message
> news:1159977778.881849.233080@i42g2000cwa.googlegroups.com...
> > Hi, all
> >
> > I have met a very trouble problem...
> >
> > I have a thirdpart component which can only run at 1.1 version, but I
> > want to import and use it at a 2.0 project...
> >
> > I have tried to use reflection, but it didn't work...
> >
> > how can I do ?
> >
Author
25 Oct 2006 11:32 AM
Sky
(sorry about top posting - can't be bothered to invert the whole post).

I've had a similar problem with 1.1 framework components generating an
exception that "may destabilize the runtime".  If you have source for
the component your best bet is to recompile with framework 2.  If you
don't have source you could try decompiling and the compiling with
framework 2.

Hope this helps,

Sky


ad***@5inet.net wrote:
Show quote
> thanks for reply.
> I know this, but this component has been proved cannot run in 2.0 . it
> will occur a outofmemory exception...
>
>
> EmeraldShield wrote:
>> Normally you just reference it like normal.  Add a reference and it should
>> work.  I have lots of 1.1 dll's and components I wrote that load under 2.0
>> apps just fine.
>>
>>
>>
>> <ad***@5inet.net> wrote in message
>> news:1159977778.881849.233080@i42g2000cwa.googlegroups.com...
>>> Hi, all
>>>
>>> I have met a very trouble problem...
>>>
>>> I have a thirdpart component which can only run at 1.1 version, but I
>>> want to import and use it at a 2.0 project...
>>>
>>> I have tried to use reflection, but it didn't work...
>>>
>>> how can I do ?
>>>
>



AddThis Social Bookmark Button