Visual-studio – Is it possible to deploy and debug PocketPC applications in the SDK emulators without using ActiveSync

emulationpocketpcvisual-studio-2008

Im currently working on a PPC application that I would like to test in the PPC emulator "USA Windows mobile 5.0 PC R2 Emulator" without using Active Sync. Somewhere in my back head I think I have been able to just do that: But when I start a debug session with Visual Studio, it can not deploy the application to the emulator. All I get in the build log is:

9>------ Deploy started: Project: DLL1, Configuration: Debug Salsa ARMv4 Windows Mobile 5.0 Pocket PC SDK (ARMV4I) ------
9>There are no more files.
9>
10>------ Skipped Deploy: Project: DLL2, Configuration: Debug Salsa ARMv4 Windows Mobile 5.0 Pocket PC SDK (ARMV4I) ------
10>Project not selected to build for this solution configuration 
11>------ Deploy started: Project: DLL3, Configuration: Debug Salsa ARMv4 Windows Mobile 5.0 Pocket PC SDK (ARMV4I) ------
11>There are no more files.
11>

========== Build: 0 succeeded, 0 failed, 7 up-to-date, 5 skipped ==========
========== Deploy: 3 succeeded, 2 failed, 7 skipped ==========

If I cradle it (Using Device Emulator manager) and let the device sync through ActiveSync, then Visual Studio can deploy and debug. But I would like to debug some connectivity issues without being connected thorugh ActiveSync. How can I do that?

Best Answer

The actual problem was that I had different target devices when I built the project and tried to deploy it. At the end VS would deploy one file to an ActiveSync device, one to the emulator and so forth. It was not suprisngly that it didnt work. If I changed the target device for the current project, it would not change it for the other projects...

So if you have problems deploying using Visual Studio and having multiple projects in a solution, make sure that they all go the same target device.

Related Topic