Create a Lync Server API managed application project in Visual Studio
To create a Microsoft Lync Server 2013 SIP Application API application, write an application manifest or create a Visual Studio project.
Applies to: Lync Server 2013
Write a Lync Server 2013 SIP Application API application manifest that specifies the identity of the application and contains a MSPL script to process designated SIP messages. For more information, see How to: Create an application manifest.
Create a Visual Studio project for a managed Lync Server 2013 SIP Application API application, if the message processing is delegated to the managed code component by using the Microsoft.Rtc.Sip namespace.
To create a Visual Studio project for a managed Lync Server SIP application
Create a new Visual Studio project, and then select a project template (for example, C# Console Application).
In the New Project dialog box, specify the project name, and then choose OK.
In Solution Explorer, add references to the Microsoft.Rtc.Sip namespace by doing the following:
Right-click References under the newly created project.
Select Add Reference.
Navigate to the bin directory under the main installation directory of the Lync Server 2013 SIP Application API. By default, this directory path is "%progfile%\Microsoft Lync Server 2013\SDK\bin".
Double-click the ServerAgent.DLL file.
Import the Microsoft.Rtc.Sip and other dependent namespaces into the application project by inserting the following statements at the end of the using block in every code file that references the Lync Server 2013 SIP Application API.
using Microsoft.Rtc.Sip;