This article explains how to create a Farm solution using Visual Studio 2013.
Step 1Open Visual Studio 2013 with Run as administrator.Start Visual Studio 2013.Step 2Click "File" -> "New" -> "Project...".The New Project window will appear. Now click the Office/SharePoint templates and then select SharePoint 2013 - Empty Project.Step 3Enter the name of the solution and click the Ok button.Step 4Once clicking the Ok button, the following popup will appear. Enter your SharePoint site URL and click the Validate button. Once Validate, check the Deploy as a Farm solution checkbox.Step 5Click OK and click the Finish button.Step 6Right-click the project in the solution then click Add and click on New Item.Step 7The following screen will appear.Step 8Select Visual Web Part (Farm Solution only) and enter the name of the Web Part and then click the Add button.Step 9Your new web part has been added to the solution as can be seen in the Solution Explorer.Step 10Open your .ascx page (MyFirstWebPartUserControl.ascx) and create your design. Here I have added a label.Step 11Build your solution.Step 12Deploy your solution.Finally the Farm solution is created and deployed to the SharePoint site.SummaryIn this article we explored how to create a Farm solution using Visual Studio 2013.
Configure MinRole Search and Cloud Hybrid Features in SharePoint Server 2016 and Office 365