WM2005 and .NET Version error

F

farseer

Hi,
I had an app that was previously created for WM 2003. I recompiled
this after changing the target platform to "Windows Mobile 5.0 Pocket
PC SDK". However, when i now copy this over to a WM 2005 device and
attempt to run, i am seeing the error " This application requires a
newer version of the Microsoft .NET Compact Framework than the version
installed on this device".

On the device is WM 5.0 version 5.1.195. I was under the impression
that WM 2005 ships with .NET 2.0, is that incorrect?
 
L

Lars Vonderschmitt

farseer said:
On the device is WM 5.0 version 5.1.195. I was under the impression
that WM 2005 ships with .NET 2.0, is that incorrect?

Yes, .NET 1.0 is installed. You must install the .NET CF 2.0 by yourself.

Lars
 
L

Lonifasiko

Hi,

In project properties, if you deploy your application from VS2005, make
sure you've checked the option "Deploy latest version of the Compact
Framework". I think it's checked by default.
Yes, I also think WM 5.0 devices should come with CF 2.0 preinstalled.

Regards.
 
G

Guest

WM 5.0 still doesn't have CF 2.0 in the AKUs (at least not as of 5.22) so
OEMs can't easily add it to their platform. You have to add it yourself.

-Chris
 
F

farseer

How do i add it myself? is there an available download from microsoft
for this?

i found a NETCFSetupv2.msi from from microsoft, but when i attempt to
install it, i am told it is already installed on my desktop. If i
attempt t copy that to my PDA, there is not enough room ( it's 24 MB).
 
R

r_z_aret

How do i add it myself? is there an available download from microsoft
for this?

i found a NETCFSetupv2.msi from from microsoft, but when i attempt to
install it, i am told it is already installed on my desktop. If i
attempt t copy that to my PDA, there is not enough room ( it's 24 MB).

First, .msi files are definitely _not_ meant to go on handhelds. .msi
files are installation packages that "run" on "big" Windows.

Try connecting your handheld, and then looking at Tools->Add/Remove
Programs... in the ActiveSync window on your "desktop". If you're
lucky, the list of "programs" will include "Microsoft .NET CF 2.0". If
it is there and the box is checked, then CF 2 is already installed on
your handheld. If the "program" is in the list, but the box is not
checked, then you can check the box and press "OK" to install CF 2.

If the "program" is not even in the list, then you have problems. Try
looking in Start->Settings->Add/Remove Programs on your "Desktop". If
you see "Microsoft .NET Compact Framework 2.0", then you can try
removing it. And then you can try reinstalling it, but with the
handheld attached.

I needed to install CF 2 on my WM 5 device yesterday. I started by
using the search box at www.microsoft.com to look up CF 2, and then
stumbled around until I found something that seemed close. Sorry, but
I don't remember details. I do know I wound up with a file with the
same name as yours.

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com
 
D

DJMatty

Hi

To quote Ilya from a post further down that seems relevant to your
question...

"...CF 2.0 CABs are described here:
http://blogs.msdn.com/netcfteam/archive/2005/10/11/479793.aspx

By default VS would put them under "%ProgramFiles%\Microsoft Visual
Studio
8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\<version>\<cpu>"

The cab files for netcf2 are part of vs2005 and should be on your
machine somewhere, you can just copy them to your device and run them
to install cf2.

HTH

Matt
 

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