views:

5019

answers:

4

I'm trying to get a number of third party applications to work on my Windows Mobile 5 smartphone.

I've installed the latest version (3.5) of the Microsoft.NET Compact Framework, but whenever I run the apps I get an error message which states: "This application [Application Name] requires a newer version of the Microsoft .NET Compact Framework than the version installed on this device."

Given I've supposedly successfully installed the latest version, this doesn't make sense, leading me to believe I need to remove the .NET Compact Framework and start again. (I've tried reinstalling it, but as far as I can tell there's no automated way of removing it on the device, or from my PC.)

Does anyone have any suggestions as to what I need to do? Thanks!

A: 

Have you tried using Microsoft ActiveSync to uninstall it?

jdecuyper
+2  A: 

It's probably better to not uninstall, and if it's on the device in ROM you can't uninstall it anyway.

There are a couple options available to you.

  1. The different CF versions coexist fine, so you can install the older version and leave 3.5 on it.
  2. The CF can be set for compatibility mode. That means you can tell just a single app compiled against an old version use the 3.5 runtimes in compatibility mode or you can set that device-wide so all older CF apps will run agains the 3.5 EE in compatibility mode.

For online resources discussing configuration files and compatibility mode, see these links:

Note: I forgot to mention in the original response that using option #2 (running against CF 3.5) will very likely improve the performance of the app as well, since it will be running with the newest CLR.

ctacke
A: 

Cold reboot? ;)

Quibblesome
While that would uninstall the CF, it also would "uninstall" all of the user's data and other apps and is unlikely to be what he wants. Really what he wants is to be able to run apps built against an older framework using CF 3.5.
ctacke
A: 

If you have installed it yourself you should be able to remove it by going to Settings -> System -> Remove Programs (could be a slightly different path on the smartphone OS, I'm used to Pocket PCs).