Prepare the Visual Studio Project

Create an empty SharePoint 2013 project. Connect to your SharePoint 2013 instance. When you have created your project, you can deploy directly from Visual Studio to SharePoint. Or you can export a package, and then install the feature from SharePoint.

Considerations

To avoid surprises when deploying a custom control, take the following points into consideration:

Prerequisites

To use the example, ensure that you have the following prerequisites in place:

Create an Empty SharePoint 2013 Solution in Visual Studio

In your Visual Studio development environment on your SharePoint 2013 server, create a new project and make sure that it points to SharePoint server to which you would like to deploy your solution.

To create an empty SharePoint 2013 Solution in Visual Studio

  1. Click File, click New, and select Project in Microsoft Visual Studio.
  2. Expand the Installed group, Templates, and then Visual C#. Click Office/SharePoint, and select SharePoint Solutions. Click SharePoint 2013 – Empty Project.

    Note: You will need elevated permissions to create the solution.

  3. Name the Project Custom.InlineFunctions.Custom and the click OK. You may want to add the solution to source control.
  4. Type the domain of the SharePoint site you use for debugging. Click Validate to verify the connection.
  5. Select Deploy as a farm solution and click Finish.

Related information

Add a Custom Inline Function with SharePoint 2013 Management Shell