RTM = 1.0.2268.0
SP1 = 1.0.3111.0
SP2 Recall = 1.0.3226.0
SP2 Beta = 1.0.3227.0
SP2 Final = 1.0.3316.0
To determine the version programmatically you can use System.Environment.Version.ToString().
1.27. How do I copy files to the emulator?
One approach would be to create a file share on your development PC, and then connect to that share via File Explorer in the emulator. You may then copy and paste the files from the share to the emulator's local file system. Another approach would be to add the file(s) to a smart device project and set their Build Action(s) property to "Content". See the Visual Studio .NET online documentation for more information on "File Properties":
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbconfileproperties.asp
Step by step instructions for adding a "Content" file to a smart device project:
Open or create a smart device project,
On the View menu, click Solution Explorer,
In Solution Explorer, right-click on your project, point to Add, and click Add Existing Item. Browse to and add the desired file to the project.
Right-click on the file that you added, in solution explorer, and click Properties,
Set the Build Action property to "Content", if it is not already set. 1.28. Why does installation of the PocketPC 2002 SDK fail?
Symptom: The Pocket PC 2002 SDK installer hangs while "registering components."
Cause: An unregestered component causes the installation to hang while attempting to run the emulator.
Workaround: From a console window prompt:
cd \WINNT\system32
regsvr32 atl.dll
1.29. How do I debug a Web service consumed by a Smart Device application?
You need to attach the debugger to the ASP.NET worker process.
Refer to the following link for more information:
1.30. What is the footprint of the .NET Compact Framework?
.NET Compact Framework storage size:
1.55MB (ROM) on Pocket PC 2000/2002
1.35MB (ROM) on Windows Mobile for Pocket PC 2003 or Windows CE .NET Devices Running RAM requirements:
.5 MB+ (depends on application) Typical application sizes:
5 - 100 KB 1.31. How do I include imgdecmp.dll in an emulator image?
You must ask the OEM to include it in the device's image. If you are the OEM and you are using Platform Builder 4.2, then including the OS Dependencies for the .NET item automatically causes imgdecmp.dll to be part of the emulator image - if that is not working then refer to cesysgen.bat. Another method is to set the environment variable "__SYSGEN_IMGDECMP=1" to explicitly force the DLL into the image.
1.32. How do I programmatically replace Assemblies in the Global Assembly Cache (GAC)?
One can install and remove Assemblies directly to and from the GAC by programmatically launching cgacutil.
Remove assemblies from the GAC using the -u option
Install assemblies to the GAC using the -i option It is typically safest to remove the Assembly before reinstalling it.
1.33. How can I display Pocket PC applications on my desktop or laptop without needing any device side configuration?
Download the ActiveSync Remote Display from Windows Mobile Developer Power Toys:
1.34. How can I allow Activesync to connect to an Emulator session from Visual Studio .NET 2003?
See the entry titled "11.17. How can I allow Activesync to connect to an Emulator session from Visual Studio .NET 2003?" of this FAQ.
1.35. How can I copy files to the device currently connected to desktop ActiveSync?
See the entry titled "11.18. How can I copy files to the device currently connected to desktop ActiveSync?" of this FAQ.
1.36. How can I stress test user input?
Download Hopper from Windows Mobile Developer Power Toys:
1.37. Where can I get a UI version of the Platform Builder Target Control Window?
Download JShell from Windows Mobile Developer Power Toys:
1.38. Where can I get a Command shell for Pocket PC 2003 devices?
Download PPC Command Shell from Windows Mobile Developer Power Toys:
1.39. How can I get detailed information about currently running processes?
Download RAPI Debug from Windows Mobile Developer Power Toys:
1.40. How can I remotely start an application on a Pocket PC from my desktop?
Download RAPI Start from Windows Mobile Developer Power Toys:
1.41. Why can't I load different assemblies with the same name?
This is by design. You must either change the names of the DLLs, or if the DLLs are strong named, place them in the GAC and use Assembly.Load with a full strong name.