From: (O)enone on
Lotfi wrote:
> I use Vista + VS2008 / SDK WM6 to test an example on my pocketpc, but
> it always start the emulator to deploy the application into it for
> debugging purpose.
> Even when I connect to my device (USB) and VS2008 said it is
> connected, when I press the green play button to begin debugging, it
> starts the emulator and my application is never started/debugged on
> the device.

Do you have multiple projects in your solution? Have you checked that it
is the startup project that is configured to run on the device and not
one of your class libraries? (Click the startup project in the Solution
Explorer and see that device is selected).

Each individual project has a setting to indicate which device it will
run on, but only the startup project's setting will be observed when the
deployment takes place.

HTH?

--

(O)enone