Damn… I’ve taken some time to find a correct way to handle this…
Sometimes, when debugging windows mobile applications, i got the following message :
“An error message is available for this exception but cannot be displayed because these messages are optional and are not currently installed on this device. Please install ‘NETCFv35.Messages.EN.wm.cab’ for Windows Mobile 5.0 and above or ‘NETCFv35.Messages.EN.cab’ for other platforms. Restart the application to see the message.”
Of course i’ve downloaded the NETCFv35.Messages.EN.wm.cab or NETCFv35.Messages.FR.wm.cab and NETCFv35.Messages.EN.cab or NETCFv35.Messages.FR.cab, but nothing change on the debugged device. After some digging (Deeeeeeep digging), i’ve come across this solution :
http://blogs.msdn.com/b/martijnh/archive/2008/01/03/fixing-exception-messages-on-the-net-compact-framework-3-5.aspx.
Manipulation is quite simple as i had the same problem as he describe on his site.
– Extract SYCCFA~1.001 from NETCFv35.Messages.XX.wm.cab
– Rename it System.SR.dll
– Add it as reference to your application.
Thats it
Another useful help about powertoys and Remote Logging WCF on .NET Compact Framework :
http://blogs.msdn.com/b/danhorbatt/archive/2007/11/01/remote-logging-wcf-on-net-compact-framework.aspx
Thanks! it worked perfectly!