I am currently in the preparation phase for a new project that will be developed with .NET Compact Framework (2.0 or 3.5, we\'ll see) and will run on a custom Windows CE 6 h
To prepare the device for connecting
To prepare Visual Studio for connecting
To set security and establish the connection 1. At the command prompt on the device, run cMaccept.exe.
I know what you mean regarding slow performance of the emulator when debugging CF apps.
Unfortunately, I don't think this is possible out of the box. If you notice, the debugger in VS always checks what is your connected device in order to decide if your app should be deployed or not, depending on whether you have any changes since the last deploy.
If someone wants to debug in something other than the emulator or the device, they should try and put another "emulator" in that list, that maybe it is not the typical emulator, but the desktop itself. Unfortunately, I don't think this is possible.
Of course I am ready to be corrected by someone more experienced in CF development. I would be really interested if such a technique for debugging CF apps, exists!
Generally I create 2 projects one for desktop and one for CF. The desktop version is a desktop exe that just references CF .dlls (this is fine). Obviously you'll need to push your main app into librarys and make your actual .exe just a very light wrapper (but this is quite nice design anyway)
It's not actually running on the CF but the FF so there are a few compatability issues you may notice in a difference of the implementations.
The other option is to use the debugging option in Visual Studio to "attach to process". That way you can run the app by double clicking and then just attach to that process.
Follow this guide by Daniel Moth to setup a "My Computer" deploy target:
"The Moth: Deploy to My Computer"
Then choose this as the deploy target for your Smart Device Project and press F5. Try to stay clear of any platform specific modules/methods etc.
There are a lot of great blog entries in mr Moth's blog if you are an Compact Framework developer.