|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
how to load a 1.1 version assembly into 2.0 environment?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 ? 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 ? > 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 ? > > (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 ? >>> > |
|||||||||||||||||||||||