Hello there,
i am facing a problem in windows mobile 6. i have developed an app and i have used Timer class that is present in System.Threading namespace present in mscorlib.dll assembly. the problem is that when i debug it or when i deploy it by creating proper cab file from visual studio 2008 on my device (HTC ELF0300) it runs fine but when our client deploys it on his device (HTC Tilt 2) it gives TypeLoadException at System.Threading.Timer.ring(), after googling it alot and looking each and every assembly that i have referenced in my project into IL DASM and Object explorer of visual studio i have seen that the mscorlib.dll which was added in the cab project for deployment is missing with System.Threading namespace and the mscorlib.dll present in my main project is showing me System.Threading namespace in the object explorer. May be due to this our client is facing problem of TypeLoadException.
But i am still puzzled if the namespace is missing in the mscorlib.dll present in the cab file, than how the cab file is deployed and runs fine on my device(HTC ELF0300) but not on HTC Tilt2? What can i do to add the proper mscorlib.dll in my cab file?
any help will be greatly appreciated. thank you.
Zunair Minhas. http://www.tkxel.com/