Windows Mobile 5.0 (4) -- MobileProgramDeployment
Windows Mobile 5.0 (4) -- MobileProgram deployment
mobile program deployment: mobile winform the program is deployed on the device.
New 1 project . The system time is displayed after the program is started.
the program is very simple, that is, in form_load In the event, set label text set the value to system time.
After compilation, run it on the simulated device for testing.
If the program shows normal, you can deploy it.
InSolutionAdd1ItemsProject, SelectSolution-> Add-> new project
select other project types-> setup and deployment-> smart device cab project
New1ItemsCabOfProject.
After the creation, the configuration page is displayed:
In File System on target machine You can add different folders and add corresponding processing in different folders. By default Application folder And Program Files Folder This 2 Folder, but the content is empty.
to Start Menu menu and Programs There is a shortcut in the folder. I added this 2 folders.
InApplication folderTo add the program subject:
in application folder project output , select primary output
Add shortcuts:
Select Folder , Right-click and select Create new shortcut In the dialog box, select Application folder , Set Primary output Add in.
in Solution Explorer , select cab project primary output , open its properties
InOutputsTo view the actual content deployed to the device.
OpenActiveSyncProgram, selectExplore
I will cab copy to the device. Open the device and run cab
Start menu, the program is successfully deployed.
InDemodeploymentIt's mine.WinformOfProjectName