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:
- .NET Framework 4.5
- A SharePoint development environment with Visual Studio installed on SharePoint 2013 On Premises.
- NintexForms 2013 and NintexWorkflow 2013 installed and configured on the SharePoint 2013 On Premises server.
- An account that is a member of the local administrator group and member of the Farm SharePoint Administrators Group so that you can create site collections, perform an IISreset, navigate through Central Administration, and deploy and retract SharePoint solution files.
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
- Click File, click New, and select Project in MicrosoftVisual Studio.
- Expand the Installed group, Templates, and then Visual C#. Click Console Application.
- 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):
- System.Xml
To add the dependent class libraries for the solution
- Click open and select Project/Solution in MicrosoftVisual Studio. Navigate to your solution file and click Open.
- Click View and select Solution Explorer.
- Expand the custom control solution, right-click the References node, and then select Add References.
- Click, Assemblies, and click Framework. Select System.Xml and click OK.