Call .NET 1.1 assembly from 2.0

  • Thread starter Thread starter Alex
  • Start date Start date
A

Alex

Hello,

how can I call a .NET 1.1 assembly from .NET 2.0 console application
or web service? When I try to to this I only get the a
BadImageFormatException with the message "ValueType mismatch".


Thank you!
Alex

PS: BTW, I tried to call the SharePoint assembly (which is only 1.1)
 
In the config file of the application, request for both the runtimes.

look for requiredRuntime element in the configuration files.

Ask for both 1.1 and 2.0. Then load.

Actually, by default only one runtime is loaded and 2.0 will not be
able to load 1.1 assemblies.

--
Cheers,
Gaurav Vaish
http://www.mastergaurav.org
http://mastergaurav.blogspot.com
-------------------------
 
Back
Top