consuming .net 2.0 dll from .net 1.1 using VS2003  
Author Message
bilalso





PostPosted: Windows Forms General, consuming .net 2.0 dll from .net 1.1 using VS2003 Top

Is it possible to consume .net 2.0 dll from .net 1.1 using VS2003 .net 2.0 dll might or might not be using 2.0 specific features, please let me know if its possible in either case.

Thanks,



Windows Forms18  
 
 
Christopher Fleming





PostPosted: Windows Forms General, consuming .net 2.0 dll from .net 1.1 using VS2003 Top

Hello. Unfortunately you cannot reference a .net 2.0 assembly from your 1.1 application. The essense of the problem is that you can't run two versions of the framework in the same process. I would recommend upgrading the 1.1 application to 2.0. Another suggestion is covered here which involves reflection but is in my opinion much more of a headache than just updating the 1.1 project to 2.0.

 
 
bilalso





PostPosted: Windows Forms General, consuming .net 2.0 dll from .net 1.1 using VS2003 Top

if the dlls are compiled in native C++ compiler using VS2005, even then they cant be referenced in apps built in other frameworks

If a C++ app is built using VS 2001 (using native C++ compiller) for instance then will this app be able to reference C++ dlls compiled in native C++ compiler but written using VS2005

Thanks,