Problem developing on a WinCe.net 4.2 device

G

Guest

Help me please!

I'm developing with vb.net on a wince.net 4.2 device, when creating a
project, it works fine when i show only a form, but when I'm creating a new
object (Any type), the project throws an exception with a message like this
(in spanish):

Excepción no controlada del tipo 'System.TypeLoadException' en Módulo
desconocido. (English: thrown exception 'System.TypeLoadExceptuon' in
unknown module)

Información adicional: No se pudo cargar el tipo
Microsoft.VisualBasic.CompilerServices.ProjectData del ensamblado
Microsoft.VisualBasic, Version=7.0.5000.0, Culture=neutral,
PublicKeyToken=B03F5F7F11D50A3A. (English: Additional Information: Can't
load type Microsoft.VisualBasic.CompilerServices.ProjectData of assembly...)
--

I Even made a cold reset on the device and continued failing (Any hint?,
please!)
Thank you very much

Regards!
Omar Rojas
 
D

Daniel Moth

It's interesting that this comes up a lot lately... Here is my bog standard
response which applies in cases where TypeLoadException, ms.vb.dll and
B03F5F7F11D50A3A appear in the same paragraph:

You are referencing the desktop MS.VB.dll rather than the CF one. How you
got in that situation I am not sure (maybe you used the upgrade vb6 code
wizard which is not smart enough to know it is in a CF project) but you can
remove the reference from your project (references and referencepath) and
try again.

Cheers
Daniel
 
G

Guest

Thank you, Daniel

I have already found the cure for this, hehehe, i contacted my device
provider and told me that the platform of the device is ARMV4 so i installed
the CF for this platform so continued failing. As an alternative i installed
the CF for ARMV4T and worked again, so the problem is gone.

Best Regards,

Omar Rojas
 

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

Similar Threads


Top