Create empty C# project
You can create a blank C# .NET project without using a Sage CRM project template. When creating your project, add a reference to the SageCRMNet.dll file installed with the Sage CRM .NET SDK. This is required to get access to the objects, methods, and properties exposed through the Sage CRM .NET API.
In Microsoft Visual Studio, create a new C# project. Select the appropriate option to create an empty project.
In the created project, add a reference to the SageCRMNet.dll file:
a. Select Project | Add Reference.
b. Browse to select the SageCRMNet.dll file. On a computer where the Sage CRM .NET SDK is installed, the default location of this file is
%ProgramFiles(x86)%\Sage\CRM\CRMDotNet\{Sage CRM version number}.
c. Select OK.
If necessary, add new empty C# classes to the project: in Solution Explorer, right-click the project name, and then select Add | Class.
Edit the automatically created files.