Export (0) Print
Expand All

How to: Create Device Applications Using Visual Basic or Visual C#

Creating Visual Basic and Visual C# managed projects for devices follows the same general process as creating projects for the desktop, except that you must select a target platform (for example, Windows Mobile 5.0 Pocket PC) and .NET Compact Framework version (for example, v3.5) on which the project is designed to run.

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 create a device project

  1. Open the New Project dialog box and select the Smart Device Project template.

    1. On the File menu in Visual Studio, point to New, and then click Project.

    2. Under Project Types in the New Project dialog box, expand Visual Basic Projects or Visual C#, and then click Smart Device.

      If the language you want does not at first appear, expand Other Languages. This display is governed by your development settings. To view or change your settings, click Import and Export Settings on the Tools menu.

    3. In the Templates pane, click Smart Device Project.

    4. (Optional) In the Name box, type a name for the project.

    5. (Optional) If a Location box is displayed, verify where you want to store your project files, and then click OK.

      The Smart Device Project Settings dialog box appears.

  2. Configure and create the new Smart Device Project.

    1. (Optional) To target a different platform, change the selection in the Target platform drop-down list, for example Windows Mobile 5.0 Pocket PC SDK.

    2. (Optional) To target a different version of the .NET Compact Framework, change the selection in the .NET Compact Framework version drop-down list, for an example .NET Compact Framework Version 3.5.

    3. In the Templates pane, click the desired project template, for example Device Application, and then click OK.

To add a project to an existing solution

  • On the File menu, point to Add, and then click New Project or Existing Project.

    The Add New Project or Add Existing Project dialog box opens so that you can add a new project or add an existing project.

To port existing projects

Community Additions

ADD
Show:
© 2015 Microsoft