CF version after CF 2.0 install

  • Thread starter Thread starter Peter Hartlén
  • Start date Start date
I know I need VS2005 to develop applications that use CF2.0 specific
resources, I actually have VS2005 but have to wait for some device
manufacturer specific SDKs before I can start using it. Right now my only
interest is to deploy Compact Framework, I asked about this in a previous
post "CF 2.0 etc.".

Am I wrong to say a VS2003 developed application could run on a device with
CF2.0 installed?

The more interesting question here would be if the VS2003 developed
application can benefit from an installation of CF2.0 (otherwise I could
wait with this as well until we migrate to VS2005).

/ Peter
 
1. CF 1.0 assemblies (which is what you're building in Studio 2003) cannot
use CF 2.0 assemblies.
2. If a device has both CF 1.0 and 2.0 installed, then your 1.0 assemblies
will run fine, but they will use the 1.0 runtimes by default.
3. If a device only has CF 2.0 on it, you can try a version coercion, which
should work. You might gain perf benefits by doing so, but you'll want to
re-test everything for stability:
http://blogs.msdn.com/davidklinems/search.aspx?q=coercion&p=1


-Chris
 
Aha!

I've missed this totally, been bogged down in terrible Delphi code for quite
a while now...

Thanks for the information!

/ Peter
 
Does this mean there are two totally seperate file sets installed for the
two framework versions?

So if I have a WM2003 machine with pre-installed CF1.0, I will add an
additional amount of files and the space they require by installing CF2.0?
The cab file is ~5.4MB, but what is the actuall install size?

Thanks,

Peter
 
CF2.0 is will set you back about 6 Mb, and 1.0 is around half of that.

Henrik Viklund
 
Is it possible to de-install a ROM-installed CF?

Preferrably de-install CF1 when installing CF2 :-)

/ P
 
No. Not if the files are part of the OS-image. The files are most likey
located in a read only area of the file system so is not possible to
reclaim or reuse the space anyway.

Henrik Viklund
 
That's about 5 MB uncompressed (e.g. on WM 5.0) and about 2 mb compressed
(e.g. on WM 2003).

--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
 
Peter said:
Aha!

I've missed this totally, been bogged down in terrible Delphi code for quite
a while now...
What was terrible there? The fact that it was Delphi (I hope it wasn't
or can't see why) or the way the code was written?

Greetings

Markus
 
Hello,

can VS2005 write CF 1.0 apps?
Otherwise if you don't needed some CF 2.0 specific features you would
require (at least on WM 2003 devices) to waste valuable memory with CF
2.0 runtimes you don't need.

Greetings

Markus
 
Markus said:
Hello,

can VS2005 write CF 1.0 apps?
Otherwise if you don't needed some CF 2.0 specific features you would
require (at least on WM 2003 devices) to waste valuable memory with CF
2.0 runtimes you don't need.

Greetings

Markus

Yes, Markus, VS2005 supports the creation of CF 1.0 apps on WM5.0 and
WM2003 platforms.
 
Back
Top