Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Compact Framework / April 2006

Tip: Looking for answers? Try searching our database.

WM2005 and .NET Version error

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
farseer - 27 Apr 2006 07:05 GMT
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?
Lars Vonderschmitt - 27 Apr 2006 07:24 GMT
farseer schrieb:
> 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
Lonifasiko - 27 Apr 2006 09:51 GMT
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.
<ctacke/> - 27 Apr 2006 13:44 GMT
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

> Hi,
> I had an app that was previously created for WM 2003.  I recompiled
[quoted text clipped - 6 lines]
> 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?
farseer - 28 Apr 2006 02:45 GMT
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_z_aret@pen_fact.com - 28 Apr 2006 22:57 GMT
>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
DJMatty - 29 Apr 2006 06:55 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.