VS2005 and .NETCF compatibility problems!

  • Thread starter Thread starter Cornel Gligan
  • Start date Start date
C

Cornel Gligan

Hi!

I'm developing an application for Windows Mobile 5. I'm using the following
tools:
- Windows XP Professional;
- Visual C# from Visual Studio 2005 Professional Edition;
- Windows Mobile 5 SDK.

I made an exe for my applica and I made an install for it. I installed my
application on a PocketPC that runs Windows Mobile 5. After installation,
when I try to run my application I receive the following message: "This
application (myapplicaion.exe) requires a newer version of the Microsoft(R)
..Net Compact Framework than the version installed on this device."

I know what this means. This means that my application use .Net Compact
Framework 2.0 and on device is an older .Net Compact Framework version.

I have few questions:
1. What version of .Net Compact Framework comes with Windows Mobile 5
operating system?
2. How could I check what version of .Net Compact Framework is set by
default on my PocketPC that runs Windows Mobile 5?
3. There is a way to develop my application for Windows Mobile 5 with Visual
Studio 2005 using an older version of .Net Compact Framework - older than
version 2.0?

There is anywone who could answer to my quyestions?

Thank you in advance!

Best regards,
Cornel Gligan
 
1. The devices all come with .NET CF 1.0 (some service pack, SP3, maybe).

2. There isn't really a 'by default'. If your code is set up for 2.0, it
requires that 2.0 be present, but, if it's compiled for 1.0, it will work
with either 1.0 or 2.0, depending on what is in the device.

3. Sure. Use the New Project Wizard. Select Windows Mobile 5 as the target
device type and there should be two versions of each type of project, those
with no version numbers and those ending with "(1.0)", which target .NET CF
1.0.

Paul T.
 
Back
Top