To add an eConnect class or enumeration to your .NET development project, use Visual Studio to add a reference to the eConnect assembly. To add a reference, complete the following steps:
From the Visual Studio Project menu, click Add Reference. The Add Reference window opens and displays the .NET tab.
In the .NET tab, scroll the list of assemblies and click the eConnect assembly name. For example, click Microsoft.Dynamics.GP.eConnect.
To add the reference, click OK. The specified assembly is added to the list of references for your Visual Studio project. The Add Reference window closes.