WinCEGeräteSE_Handbuch_Programmierung_v3.00_EN
20 / 65
Once you have selected the project template, select the project type and the target framework (Compact
Framework 3.5 / 2.0).
Then click OK to generate the project.
4.3 Deployment
In the project settings (right-click Project
Properties), go to Devices to configure the deployment settings.
Output file folder
Define here the directory on the device where the application should be automatically copied to by Visual
Studio after compilation.
Deploy the latest version of the .NET Compact Framework
Deactivate this option as the second edition ACD devices are configured by default with a relevant version of
.NET Compact Framework 3.5.
If you enable this option, the .NET Compact Framework (3.5 or 2.0) you selected when you created the
project is installed every time you reboot the device. This can lead to longer waiting times. This can also
have the effect that the developer and rollout versions differ.
If you have to use .NET Compact Framework 2.0, you must ensure that the correct CAB file is installed
afterwards on all devices.
4.4 Generating codes and debugging
A Windows Mobile Device Centre / ActiveSync connection is required between the developer PC and device
for the remote debugging of a program (see Chapter 2).
In the menu, select Build
Build Solution (Ctrl + Shift + B) to compile and create the application. If the
program is compiled and linked without any errors, it can then be transferred to the device with Build
Deploy Solution.
Select the Debug
Start Debugging (F5) menu to check the application, transfer it to the device and then
execute it. Similar to desktop PC applications, these applications also provide debugging tools (breakpoints,
variables view, etc.).