"typeloadexception" What is this? How i solve it?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

Can anyone help me with this problem.

------------------------------
PDA Transportes.exe
TypeLoadException

FormTransMain::.ctor+0x2c
FormTransMain::Main+0x5
------------------------------


This happens on an application that uses a library that uses Web Services.
And i allready made debugging of the problem, the error comes when calling
the web services.
This occurs in the emulator of VS2003 and in the Pocket Pc.
Both library and application where built on C#.

I reall don't what to do anymore.

Thanks for all the help.
 
Was your library using web services originally built for a desktop project?
If so your problem is that the .NETCF app cannot load your assembly. In
order to run of the device your dlls used by the application must have been
built as Smart Device projects. If you create a dll project for .NETCF you
can use it on the desktop since .NETCF is a subset of the full framework
(With the exception of Microsoft.WindowsCE.Forms, SQL CE and IrDA libraries)

Peter
 
Back
Top