In this recipe, we will be creating a SharePoint 2013 farm solution. Farm solutions allow us to deploy content to the filesystem of the SharePoint servers and interact with SharePoint farm elements outside of a site collection, such as the web application.
Follow these steps to create a SharePoint solution:
Open Visual Studio and select New Project from the FILE menu as shown in the following screenshot:
Navigate to Visual C# | Office/SharePoint | SharePoint Solution and select SharePoint 2013 - Empty Project as shown in the following screenshot:
Provide a name and location for the project.
Provide the URL to the local SharePoint site.
Select the Deploy as a farm solution option.
Click on OK.