|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Load .NET 2.0 DLL IN VS2003Hi 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 Yes, if you configure the application to load the 2.0 CLR.>dll that is built on .NET2.0? Mattias -- Mattias Sjögren [C# MVP] mattias @ mvps.org http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com Please reply only to the newsgroup. |
|||||||||||||||||||||||