Windows CE 5.0 .NET Framework

T

tmoraes

Anybody Could help me?

I try to run one aplication with Visual Visual Studio 2005 with .NET Compact
Framework 2.0 forms application for Windows CE 5.0, but when i run my program
in my device, my device say : This application requires a newer version of
the Microsoft .NET Compact Framework than version installed on this device.

Anybody could tell me How i can do to see my version of .NET Framework in my
device in Windows CE 5.0, and what can i do to run my apllication in my
device?

I try to run a simple apllication (Hello World).
 
P

Paul G. Tobey [eMVP]

Your program was built against .NET CF 2.0 Service Pack X (1 or 2), not 2.0,
it would appear. You can use 'cgacutil' on the device to see what version
of the framework is there. If the .NET CF 2.0 is on the device and your
program requires 2.0SP2, say, you must have 2.0SP2 or later installed on the
device.

Paul T.
 
T

tmoraes

ok thanks!!!!
My device uses Microsoft .NET Compact Framework 1.0.
I did one prgram in Visual Studio 2005 with a superior version that my device.
I don´t know what Service Pack my program uses. I don´t know whow can i see
it.
I´m sorry it´s because i´m started now in this programs and i´m confuse in
some problems about thot things.
Do you know how i change this .NET Framework in Visual Studio?
 
P

Paul G. Tobey [eMVP]

Well, you can edit the project file. There's been some recent traffic on
this topic, which you can find by searching the archives using GoogleGroups.
There's a thread called Downgrade to CF 2.0 that has some information about
it.

http://groups.google.com/group/microsoft.public.dotnet.framework.compactframework/topics

It's easy to go from 1.0 targeting to 2.0 targeting (there's a menu option),
but, of course, going backward is not as easy (and may not work, since you
might be using features of the 2.0 framework that don't exist in 1.0). Of
course, you could change the version of the .NET CF in your device, too.

Paul T.
 
T

tmoraes

Do you know what can i do to change my .NET Compact Framework in my device, i
think that change my .NET CF is more better.
 
P

Paul G. Tobey [eMVP]

Huh? Install the new framework, of course. If you are the device builder,
change the OS configuration and build a new one. If not, get the
redistributable .NET CF package of whatever version you want to use from
www.microsoft.com/downloads and install it (or, better, ask the device
vendor what to do).

Paul T.
 
T

tmoraes

all right now everything is fine.
Problem solved!!!
Thanks!!!

Do you know anything command to list what devices are connected in my system
in my device?
for example what COM port my GPS system is connected.

regards...
Thanks
Thiago
 
P

Paul G. Tobey [eMVP]

If you think about that question, how would a serial port know what it's
connected to? That is, how would it distinguish between being connected to
a PC running HyperTerminal and being connected to a GPS? No, unless it's
using the GPS intermediate driver and that can tell you.

Paul T.
 
T

tmoraes

I have one board with GPS and this board uses Windows CE 5.0, and i need to
know what COM port my device is connected, you know?

Paul, i installed 2.0 .NET CF, but when i turn off my system, a older
version return to my system, i think that when i install the new version the
program don´t install in flash memory. What can i do about this?

Thanks.
 
P

Paul G. Tobey [eMVP]

I understand, but there's no way to tell, unless there's something like the
GPS intermediate driver, which is configured by the user or the device
vendor, and therefore knows which port has GPS on it. So, my suggestion
would be to ask the user of your program what port has GPS on it, either
every time, or during an initial configuration phase.

Presumably that's true. This is a device/OEM issue. If the device is not
designed with persistent storage/registry, you can't fix it; the device OEM
has to do that. Contact them to find out what you should do.

Paul T.
 

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