How do I Emulate/Debug Windows CE 5.0 applications in C#?

minoriole picture minoriole · Jun 27, 2009 · Viewed 7.8k times · Source

Here's my problem. I'm currently trying to develop a .Net Compact Framework 2.0 application (in C#) to a Windows CE 5.0 device.

Firstly: How do I debug/emulate the application in Visual Studio 2008 ? I doesn't mean debugging an application already deployed on the device, but debugging the version on my desktop. I have limited or no access to the prototype device.

Secondly: How do I integrate it with the OS image made by Platform Builder for Windows CE 5.0 ? Do I need to ?

Thank you for your time

Answer

ctacke picture ctacke · Jun 27, 2009

You have a few options. One would be to install the Emulator BSP, roll your own emulator image, build a custom SDK and install it, then debug targeting that emulator. It's fairly simple to do.

That said, I still wouldn't do it. A far better option is to just go buy a cheap WinCE device like an eBox 4300 jump start kit. It's way easier, faster and and more reliable to target real iron.

As for integrating the app, it's like any other. Make sure you have the CF component included in your OS design from the Catalog, then add your app to your PROJECT.BIB (and REG and/or DAT files if needed) and run makeimg again.