문제

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 ?

도움이 되었습니까?

해결책

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.

다른 팁

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 .

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top