how to add .Net Compact framework on emulator

  • Thread starter Thread starter Ajay Mirani
  • Start date Start date
A

Ajay Mirani

Hi

I had create a cab file for emulator but when i try to install it, it gives
the message

"The .Net Compact Framework could not be found. Please install the .NET
Compact Framework and run the installation again."

How can i install .Net CF on emulator ??

Thanks
 
You can automatically have Visual Studio deploy the framework to the device
by deploying any project (e.g. hello world) to the emulator. Alternatively
locate the file:-
C:\Program Files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows
CE\wce300\x86\netcf.core.ppc3.x86.cab
And install this onto the emulator prior to installing your application cab.
Note this path is for the Pocket PC 2002 emulator. For Pocket PC 2003 use:-
C:\Program Files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows
CE\wce300\wce420x86\netcf.all.wce4.x86.cab
The base install folder for VS.NET may vary on your machine.

Peter
 
Thank you very much Peter.


Peter Foot said:
You can automatically have Visual Studio deploy the framework to the device
by deploying any project (e.g. hello world) to the emulator. Alternatively
locate the file:-
C:\Program Files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows
CE\wce300\x86\netcf.core.ppc3.x86.cab
And install this onto the emulator prior to installing your application cab.
Note this path is for the Pocket PC 2002 emulator. For Pocket PC 2003 use:-
C:\Program Files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows
CE\wce300\wce420x86\netcf.all.wce4.x86.cab
The base install folder for VS.NET may vary on your machine.

Peter

--
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com | www.opennetcf.org
 
If the emulator is connected to Visual Studio .NET, then it should have
installed automatically when you downloaded a CF program to it.

To manually install it, you need to get the *.cab file for CF and copy it to
the emulator. You can find the version 1.0 cab files for the emulator in
this Visual Studio .NET 2003 directory:

CompactFrameworkSDK\v1.0.5000\Windows CE\wce300\x86

And the file you want to look for is this one: netcf.core.ppc3.x86.cab

To copy to the emulator, you start the File Explorer in the emulator and
connect to a network share. Once copied to the emulator, double-click on the
cab file and it automatically installs itself.

This should get you started. At some point, you might want to upgrade to one
of the newer versions (Service Pack 1 is available from the Microsoft web
site; SP2 was available but went away last time I looked, hopefully it will
come back soon).

Good luck!
Paul

Paul Yao
The Paul Yao Company
http://www.paulyao.com

Power Programming Workshops
eCoaching for Programmers
Microsoft eMVP
 
Back
Top