Call .NET 1.1 assembly from 2.0

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)
 
M

MasterGaurav

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
-------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top