In this topic
- About creating add-in projects
- Selecting project templates
- Specifying project settings
- Building the add-in
About creating add-in projects
ArcGIS Explorer installs several project templates to accelerate the customization development process and removes the need to create projects and items from scratch. These templates also set up the required steps to automatically create, verify, and deploy add-in files when the project is built.
Each template is available in VB .NET and C# for Visual Studio 2008, Visual Studio 2010, and Visual Studio Express editions.
Selecting project templates
Do the following steps to create an add-in project by using the ArcGIS Explorer project templates for a DockWindow, Button, Extension, or Gallery add-in project:
- Start Microsoft Visual Studio.
- Click File, New, and Project. The New Project dialog box appears.
- On the New Project dialog box, select the applicable language, that is, Visual C# or Visual Basic.
- Under the Project types area for your selected language, click ArcGIS, then Explorer. Ensure that the Explorer node is selected.
- Select the applicable ArcGIS Explorer project template from the Templates pane.
- Type a name for the add-in project in the Name text box, then click OK. See the following screen shots:
- After you have selected a project template and clicked OK on the preceding New Project dialog box, a wizard appears to guide you through the process of specifying the project settings. The project settings include the Name, Description, Group Caption, and Publisher of the add-in.
Hover the mouse pointer over the Help icons on the wizard for ToolTips about each type of setting. See the following screen shots: - The second page of the wizard has settings that are specific to the Button, CheckBox, ComboBox, DockWindow, Extension, or Gallery, depending on the selected template. See the following screen shots:
- You can also hover the mouse pointer over the Help icons on the wizard for ToolTips about each type of setting. A default image is included as an icon for each new customization, which can be changed to a different image. The ArcGIS Explorer software development kit (SDK) includes standard images to use as icons. For more information, see ArcGIS Explorer add-in icons.
- When you complete the wizard and click Finish, an add-in project is created with your specified settings. See the following screen shots:
Building the add-in
The new add-in is ready to be built and used in ArcGIS Explorer. For more information, see Building and verifying add-in projects, Testing add-ins on a developer machine, and How to debug add-ins in Visual Studio.
Additional buttons, check boxes, combo boxes, dockable windows, extensions, or galleries can be added to projects created this way. For more information, see How to add new customizations to existing add-in projects.