Debugging CF2.0 SP1 app on CE 4.2

G

Guest

I'm attempting to debug an app using CF 2.0 SP1 on a CE 4.2 device. The app
is built using VS 2003 and configured (via <appname>.exe.config> to use the
CF 2.0 SP1 runtime. The app appears to run without issue when launched from
the device. When attempting to launch the app from the IDE (VS 2003), I get
a CF .NET initialization error and am unable to debug the application.

Is this a known limitation? Now that we have a CF 2.0 runtime that supports
CE 4.2, is there a configuration that will allow me to debug this using the
IDE?

Any input would be appreciated.

Thx.

-- Bret Holmdahl
 
I

Ilya Tumanov [MS]

VS 2003 is only capable of working with NETCF V1 runtime, so yes - that is
quite expected.

VS 2005 knows how to debug with NETCF V2, but even that is not guaranteed on
CE 4.2 as NETCF V2 SP1 only adding runtime support, not VS 2005 support.

MDBG command line debugger might be your only option.

Of course you can always remove configuration file and debug using V1
runtime.


--
Best regards,


Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top