Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.Net Compact Framework development on Windows Embedded CE 6.0

I am busy developing a .Net compact Framework 3.5 application for Windows CE 6.0 and am really struggling to figure out how to get a development environment up and running to debug my code.

Creating the Visual Studio project and writing the code is not the problem. But now to press F5 and run this puppy in an actual Win CE 6.0 Emulator (or similar?!) is where I am getting stuck and I have Googled this subject to death and just not finding any good tutorials/documents/help on how to get it from 'n Visual Studio project to debugging the project (or even running a simple hello world) in Win CE 6.0.

So my question is this. Can anybody please point me in the direction of a good tutorial (or provide one your selves) to get a Win CE 6.0 dev environment up and running.

Perhaps I am missing something and it just is not possible to connect and debugging to Win CE? If that is the case, how do you recommend debugging Compact Framework code in general?

The closest that I have gotten to a CE tutorial is this: http://tech-stuff-home.blogspot.com/2011/03/building-workspace-for-device-emulator.html And I have done all the steps in this tutorial to get Win CE build running, but the problem is that this does not connect Compact Framework development to the device created above. Edit: Even though I get CE running in a device emulator (using tutorial above), I cannot get this as a deploy option in the Device Emulator Manager when deploying a CF project.

like image 976
Ghlouw Avatar asked Oct 07 '22 14:10

Ghlouw


1 Answers

You should make a connection using CoreCon. Th3e steps involved are

  • Copy all of the CoreCon bits from your dev PC to the device (emulator is just a device)

enter image description here

  • Verify/note the IP address of the device

enter image description here

  • Modify the connection in your PC to use that address for connecting

enter image description here

  • Run conmanclient2.exe (on the device)
  • Run cmaccept.exe (on the device)
  • Verify the target device is set to the device you conmfigured

enter image description here

  • Test the connection from Studio

enter image description here

  • Debug
like image 80
ctacke Avatar answered Oct 12 '22 11:10

ctacke