Home All Groups Group Topic Archive Search About

VS2005 and .NETCF compatibility problems!

Author
17 Mar 2006 4:06 PM
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

Author
17 Mar 2006 4:19 PM
Paul G. Tobey [eMVP]
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.

Show quote
"Cornel Gligan" <a@b.c> wrote in message
news:usjjSzdSGHA.1572@tk2msftngp13.phx.gbl...
> 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
>
Author
17 Mar 2006 4:24 PM
Daniel Moth
....in addition, see this for determining what netcf version you have on your
device:
http://wiki.opennetcf.org/ow.asp?CompactFrameworkFAQ%2FDeterminingVersion

Cheers
Daniel
Show quote
"Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT com>
wrote in message news:e30ZP6dSGHA.6084@TK2MSFTNGP14.phx.gbl...
> 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.
>
> "Cornel Gligan" <a@b.c> wrote in message
> news:usjjSzdSGHA.1572@tk2msftngp13.phx.gbl...
>> 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
>>
>
>

AddThis Social Bookmark Button