Load correct version of .NET compact framework

G

Guest

Hello,

I have created a deployment package for my app. If I hard reset the device
and then load the program I get the following message when I try to run the
app:

Error
This application (Yummy Yuk.exe) requires a newer version of the Microsoft
..NET Compact Framework than the versio ninstalled on this device.

And, of course, the app does not load. Is there an easy way to check for
the correct version of the .NET cf and have it updated during deployment?
Thanks.

drumred
 
G

Guest

I am assuming your app is compiled against CF 2 and you are using PPC 2003 SE
or onwards as these devices already contain CF1 in ROM.

So..the easiest way to detect if CF2 is installed on your device is to check
the .unload file exits for CF2. Each CAB deployment generates an .unload file
which is the name of the manufacturer and description of the application
combined.
You need to check for the following file:

\Windows\Microsoft .NET CF 2.0.unload

If it doesn't exist, you need to fire the WCELOAD.exe passing it the CF2 CAB
file before you can load your app.

Simon.
 
G

Guest

Is there a detailed writeup of what needs to occur on load. CF
incompatibilities should be a fairly common occurrance on app deployments.

- What if there isn't enough memory for cab?
- What if cf version and device aren't compatible?
- Low storage memory during install?
- Security setting prevent intall (WM5)?
- A managed app is running?
 
G

Guest

This is no different from the desktop, you have to handle this yourself.
There is no magic API you can call that handles these potential issues,
unfortionately ;(

Simon.
 

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