TypeLoadException thrown when running Windows Mobile app

Last reviewed: 12/1/2014

PRB Article ID: P121403

The information in this article applies to:

  • GrammarKit 5
  • LexiconKit 5
  • ProfileKit 5
  • SpeechKit 8
  • VoiceMarkupKit 5


A TypeLoadException is thrown when running app on Windows Mobile platforms.


Microsoft confirms there is a bug in Windows HandHeld platform builds with loading files signed with newer SHA-256 certificates even though the files are signed as SHA-1.

WinCE builds do not appear to have the problem.

The bug is not in the signing process, but rather in how the OS loads and the files and processes the certs.

The current work around is to not sign our libraries (.NET assemblies, CDLLs, and COM DLLs) so they will load on any version of the platform.


Fixed in CDW 2014 build

New folders--signed--are available under each product WinCE libraries that include the signed version of the libraries for platforms that do not have this bug.

The default bin and lib folders contain the unsigned libraries that the samples reference.

Component Formats Impacted

All embedded platform component formats.