MissingMethodException when i load 1.1 dll from 2.0 application

  • Thread starter Thread starter abelli
  • Start date Start date
A

abelli

Hi all,
I have an application running on CF 1.1. I want to upgrade this
application to 2.0 but one of the referenceses is outsourced and
written in delphi 2005 so I can't get 2.0 version of that. I tried to
load this dll from 2.0 application but I get
System.MissingMethodException. Is it possible to load 1.1 managed dll
from 2.0 application.

Thanks.
 
Hello,

Usually, i think it is not possible, because Framework 1.1 and 2 use
the sames DLL. So if you have install the CF2 installed, you don't
have the 1.1 anymore.
But sometimes, it could be possible.
You have to install normally the framework 2.0. Then you have to
identify exactly which dlls from CF 1.1 You need and deploy it in the
same directory than your app.

I use an old home maid dll which use CF1.1. When i add it as reference
in a CF2 project, it deploy all old dll from framework 1.1, and seems
to work fine. I am note sure it is really wor good, but i really look
like OK. You can also deploy manually i guess.

I don't know about conflict, so be carefull.

Romain TAILLANDIER.
 
Thanks for reply,
The 1.1 dll has a class named TGnlFat, and the error is
"System.MissingMethodException was unhandled Message: Could not load
type 'Net.Mobile.Fatura.TGnlFat' from assembly 'Net.Mobile,
Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. I tried to
create an empty project and only defined a variable with type TGnlFat.
The error still exists. So I think, the application can't load the
dll. How i can detect which dll s used by this dll?
 
Back
Top