Load .NET 2.0 DLL IN VS2003

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi Everyone,

Is it possible to have a .NET1.1 application load an object contained in a
dll that is built on .NET2.0?

Specifically I have two 3rd party files... the first is a hosting user
control that loads a dll written in VS2005. However, when I load the DLL I
get a System.BadImageFormatException error, which I realise is because of the
version mismatch. Can I get around this?

As an aside, I've also tried testing this with VB6 and VS2005 and they both
work fine; it's just when I create the project in VS2003 that I get the error.

Any help will be greatly appreciated!

Cheers
Neil
 
Is it possible to have a .NET1.1 application load an object contained in a
dll that is built on .NET2.0?

Yes, if you configure the application to load the 2.0 CLR.


Mattias
 
Back
Top