
Final Application Deployment
When your application is complete, and you are ready to deploy it to multiple devices, you create a .cab file for the application, and then use this .cab file to install the application to multiple devices. To create a .cab file for your application in Visual Studio, on the Build menu for your project, select Build CAB File.
The resulting .cab file contains only the binaries for your application. It does not include SQL Server Compact 3.5 or the Microsoft .NET Compact Framework. To fully deploy your application, you must copy and extract the SQL Server Compact 3.5 and .NET Compact Framework .cab files together with your application .cab file.
-
The .NET Compact Framework .cab file is named NETCFversion.platform.processor.cab. It is in the following directory:
\Program Files\Microsoft.NET\SDK\CompactFramework\NETCFversion\WindowsCE\platform\processor\NETCFversion.platform.processor.cab.
-
The .cab files for SQL Server Compact 3.5 are named Sqlce.platform.processor.cab and Sqlce.repl.platform.processor.cab. They are in the following directory:
%Program Files%\Microsoft SQL Server Compact Edition\v3.5\Devices\platform\processor
For example, to include version 2.0 of the .NET Compact Framework and SQL Server Compact 3.5 in your deployment of an application you have developed for the Windows CE 5 operating system on an armv4 processor, you must include the following two files:
-
C:\Program Files\Microsoft.NET\SDK\CompactFramework\v2.0\WindowsCE\wce500\armv4i \NETCFv2.wce5.armv4.cab
-
C:\Program Files\Microsoft SQL Server Compact Edition\v3.5\Devices\wce500\armv4i\sqlce.wce5.armv4i.cab
Note: |
|---|
|
If your application uses merge replication or RDA, you must also install the Sqlce.repl.platform.processor.cab file.
|