Book Image

SharePoint 2013 WCM Advanced Cookbook

By : JOHN CHAPMAN
Book Image

SharePoint 2013 WCM Advanced Cookbook

By: JOHN CHAPMAN

Overview of this book

Table of Contents (19 chapters)
SharePoint 2013 WCM Advanced Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Creating a Visual Studio SharePoint solution


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.

How to do it...

Follow these steps to create a SharePoint solution:

  1. Open Visual Studio and select New Project from the FILE menu as shown in the following screenshot:

  2. Navigate to Visual C# | Office/SharePoint | SharePoint Solution and select SharePoint 2013 - Empty Project as shown in the following screenshot:

  3. Provide a name and location for the project.

  4. Click on OK.

  5. Provide the URL to the local SharePoint site.

  6. Select the Deploy as a farm solution option.

  7. Click on OK.

How it works...

A Visual Studio SharePoint project builds a class library (an assembly) when compiled. In addition to building the assembly, Visual Studio provides a publishing function that packages the assembly, the manifest, and all...