Connecting Tech Pros Worldwide Help | Site Map

TypeLoadException - Only once when i install and Execute it first time

Member
 
Join Date: Aug 2009
Posts: 33
#1: Oct 8 '09
Hi,

I am working on Winodws CE application.
While degugging my application runs well.

But when i create the build and install it and run it first time it gives me error as

Error
MyProject.exe
TypeLoadException

at
MyProgram.Main()
application does not crash. When a start the device again and runs it it does not give any error.

I have observed that this error only comes 1 time when i install the build.

Please help me out for this.
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,148
#2: Oct 8 '09

re: TypeLoadException - Only once when i install and Execute it first time


Are you maybe using DLLs in your project?
Sounds like CE is not loading them right away, but once they ARE loaded, its fine.
Unsure what to do about it
Reply