Prepare the Visual Studio Project

Create an empty SharePoint 2013 project and add the appropriate dependencies for the project.

Prerequisites

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

Create a Console Application Solution in Visual Studio

In your Visual Studio development environment, create a new project.

To create a Console Application in Visual Studio

  1. Click File, click New, and select Project in MicrosoftVisual Studio.
  2. Expand the Installed group, Templates, and then Visual C#. Click Console Application.
  3. Name the Project 2013_ONPREM_NF_UpdateFormXMLand the click OK. You may want to add the solution to source control.

Add Library Dependencies

You will need to reference the following Dynamic-link library (DLLs):

To add the dependent class libraries for the solution

  1. Click open and select Project/Solution in MicrosoftVisual Studio. Navigate to your solution file and click Open.
  2. Click View and select Solution Explorer.
  3. Expand the custom control solution, right-click the References node, and then select Add References.
  4. Click, Assemblies, and click Framework. Select System.Xml and click OK.

Related information

Prepare the Visual Studio Project

XML Reference