Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

How to: Add a Database to a Native Device Project

You can develop smart device applications that use SQL Server Compact 3.5 by using the Visual Studio integrated development environment (IDE).

For instructions about how to develop a SQL Server Compact 3.5 application that uses Visual C++ for Devices, see Installing a Development Environment.

When using SQL Server Compact 3.5 in your native project, the SQL Server Compact 3.5 CAB file is not automatically downloaded to the device when you deploy the project. You can add the SQL Server Compact 3.5 CAB file to your project.

NoteNote:

Your computer might show different names or locations for some of the Visual Studio user interface elements in the following instructions. The Visual Studio edition that you have and the settings that you use determine these elements. For more information, see Visual Studio Settings.

To add the SQL Server Compact 3.5 CAB file to your project

  1. Right-click the project, and on the Project shortcut menu, click Add Existing Item.

  2. Navigate to the CAB file.

    -or-

    Copy SQL Server Compact 3.5 to the smart device, and run the CAB file on the device.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft