Move .NET 2.0 SP1 GAC to Storage Card

  • Thread starter Thread starter Invincible
  • Start date Start date
I

Invincible

Hi,

As the title indicates, I am trying to move CF 2.0 to storage card on a
machine running win CE4.2 . I have more or less followed the steps
explained by Radim Fryc in
http://www.modaco.com/index.php?act=Attach&type=post&id=18197

The unit has CF 1.1 already installed. I instal CF 2.0 using
NETCFv2.wce4.sh4.cab. Then, I move the GAC files that have to be moved,
to the storage card and edit the Microsoft.NET CF 2.0.GAC file in
[\Windows ] directory and registry to reflect the changes. It possible
to execute VS 2005 application designed for NET CF 2.0

However, once I restart the unit everything still seems to be OK. The
registry and GAC files in storage card are intact. But if I try to
execute the same application again, it fails prompting "A later version
of .NET need to be installed than that already installed (1.1,
default)". It is surprising that now, even the associated registry
changes are lost. i.e all keys with CF Ver 2.0 are lost from the
registry. And the GAC files on storage card are also lost.

Why does this happen? Please, can you suggest how I could get around
this.

Roger
 
It sounds like your unit does not persist automatically (which is common).
Verify this by writing your own registry value to the registry and see if it
survives a power cycle.

If that is the case, you'll have to call regflushkey or equivalent on your
device.

Cheers
Daniel
 
Back
Top