Question

I have a windows CE app that built it with MS VS 2008 smart device .NET 3.5.
after transmit this app to hand held i see below error.

.Net CF Initialization Error     

"the application field to load required components. if the .NET compact framwork is install on a storage card , please insure ...."
you can see the compelete error in below picture :

enter image description here

can i improve my device .Net version without change windows CE ?
or i have to recreate this app with .NET 2.0 ?

Était-ce utile?

La solution

Please check, which CF version is installed on the device, run cgacutil.exe in windows dir.

The device (an Intermec CN4, according to the title in the screenshot) comes with Windows Mobile 6.1. But I am not sure, if it comes with CF2 or CF3 pre-installed.

Autres conseils

Bellow Location has two Folders

C:\Program Files (x86)\Microsoft.NET\SDK\CompactFramework\

  1. v2.0
  2. v3.5

Check All Reference's paths in Solution Explorer. same version should be selected for all reference's from the correct folder as the version you selected on the time of Project creation.

As Windows CE forms are available in both Versions.

in v2.0 as Microsoft.WindowsCE.Forms in v3.5 as Microsoft.Windowsce.Forms

If Started the Project with .Net v3.5 and added Reference of Windows ce forms from v2.0 folder. the OS will ask for .NET CF Initialization .

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top