How to: Create a LightSwitch Extension Project
To add new capabilities to Visual Studio LightSwitch, create one of these six types of extensions: business types, controls, data sources, screen templates, shells, or themes.
Prerequisites
Visual Studio Professional 2012
Visual Studio 2012 SDK
LightSwitch Extensibility Toolkit for Microsoft Visual Studio 2012
The steps in "To create an extension project" are the same for all extension types.
To create an extension project
On the menu bar in Visual Studio, choose File, New Project.
In the New Project dialog box, select the LightSwitch node, and then select LightSwitch Extension Library (Visual Basic) or LightSwitch Extension Library (C#).
In the Name field, enter a name for your extension library. This name will appear on the Extensions tab of the LightSwitch Application Designer.
Choose the OK button to create a solution that contains the seven projects that are required for the extension.
To create an extension type
In Solution Explorer, select the LibraryName.Lspkg file, where LibraryName is the name of your extension project.
On the menu bar, choose Project, Add New Item.
In the Add New Item dialog box, select the extension type that you want to create.
In the Name field, enter a name for your extension. This name will appear in the LightSwitch IDE.
Choose the OK button. Depending on the extension type that you chose, additional files or projects may be added to the solution.
Now your extension is ready to develop. The See Also list contains links to the documentation for the various extension types.
See Also
Tasks
How to: Debug or Test a LightSwitch Extension
How to: Set VSIX Package Properties
Walkthrough: Creating a Business Type Extension
How to: Create a LightSwitch Control
Walkthrough: Creating a Data Source Extension
Walkthrough: Creating a Theme Extension
Walkthrough: Creating a Shell Extension