Steps to create an empty C# project
You can create a blank C# .NET project without using a Sage CRM project template. When creating your project, make sure to 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.
- Install the Sage CRM .NET SDK.
For instructions, see Installing Sage CRM .NET SDK. - In Microsoft Visual Studio, create a new C# project.
Make sure to select the appropriate option to create an empty project.
For example, Empty Project Visual C#. - In the created project, add a reference to the SageCRMNet.dll file:
- Select Project | Add Reference.
- 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> - Click 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 code in the automatically created files as necessary.