VS2005 and CF 2.0: emulator and WinCE 4.2 x86



Hello to all NG.
Today I've installed the new VS2005 Standard environment, with
ActiveSync 4.1 and I want to try test the new CF 2.0 on my embedded

I'm been able to deploy the "Hello world" application in a WM2005
Pocket PC, after installed the "Windows Mobile 5.0 PocketPC SDK" from
Microsoft site. I'm been able to run the same project on a WM2003
PocketPC device too.

However, I'm not able to find the "Windows CE 5.0" emulator in VS2005,
but I can start a new "Windows CE 5.0/Device application" project that
display a typical 640x480 CE form in the VS2005 environment. Where I
can test this project if I've no a WinCE 5.0 embedded device connected
via ActiveSync?

I've got a WinCE 4.2 embedded device, based on a x86 image, and I'm
triying to install the CF 2.0, but in C:\Programmi\Microsoft Visual
Studio .NET
2005\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\wce400 I can
find only the ARM version of CF 2.0. In C:\Programmi\Microsoft Visual
Studio .NET
2005\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\wce500 I can
find all the releases, including x86, but I can't install it in a WinCE
4.2 environment.

If I try deploy my project using "Windows CE 5.0 Device" via TCP/IP
VS2005 start deploying all the CF 2.0 dlls that he finds in
C:\Programmi\Microsoft Visual Studio .NET
2005\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE, but then
hangs with error:
"Unable to start program
'%CSIDL_PROGRAM_FILES%\DeviceApplication1\DeviceApplication1.exe Unable
to load the CLR. The target device does not have a compatible version
of the CLR installed...."
How then can I install CF 2.0 on a WinCE 4.2 x86 device?




Ilya Tumanov [MS]

NETCF V2 does not support CE 4.2 so you could not use it with CE 4.2

Until CE 5.0 images are available for emulator using real device is your
only option.

If you do have CE 5.0 device, you don't need AS to connect:


Best regards,


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

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

1. Go to
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).


Thanks Ilya, Daniel,
understand that WinCE 4.2 is not supported by CF 2.0 (will be in
Can then explain me the specific problems that don't let the CF 2.0
runs in WinCE 4.2 environment, while runs in PPC2003 and WM2003 that
are based on WinCE 4.2 environment?

Last question: when I start new project in VS2005 I get:
- for Pocket PC 2003: "Device Application" and "Device Application
- for Smartphone 2003: "Device Application (1.0)" only
- for Windows CE 5.0: "Device Application" only

This means that if I start new project for Pocket PC 2003 I can choose
to use CF 1.1 or CF 2.0, for Smartphone 2003 only CF 1.1 and for
Windows CE 5.0 only CF 2.0?

Can I use VS2005 only as GUI to develop application for WinCE 4.2 with
CF 1.1 ore the only way to develop application for WinCE 4.2 is using
the old VS2003?

Thanks for the explanations,

Paul G. Tobey [eMVP]

It's unsupported, not necessarily impossible. Whether it will be supported
or not in the future is an internal question for MS. You should not assume
that it will be.

Yes, if you are targeting CE 4.2 devices which are not Pocket PC devices,
you should use VS.NET 2003 and the .NET CF 1.0 (there is no 1.1; I'm not
sure where you got that from).

Paul T.




A glimmer of hope? You say it is unsupported, not necessarily impossible....
please tell me ANYTHING that may be possible to get a CF 2.0 app running on
WinCE 4.2 - The CTP version was working fine on my WinCE 4.2 device. Then I
install the release and pow, it's all unsupported and will not run.... I
need a workaround or much of my test development was useless for many of our
clients until SP1 comes around (whenever that may be). We were all planning
on a November release.

Paul G. Tobey [eMVP]

There will not be anything for you in the November time-frame, as far as I
know. Use .NET CF 1.0 for 4.2.

Paul T.

Erwin Burgstaller

There will not be anything for you in the November time-frame, as far as I
know. Use .NET CF 1.0 for 4.2.

How do you tell VS2005 to use CF 1.0?





When you create the project, there are project types that have a "(1.0)"
suffix. Use one of them.


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