1. Create a new project from type “class Library”
2. Create a new class with name : “MyExample”
3. Paste this code in new class.
using System;
using Microsoft.Crm.Sdk;
using Microsoft.Crm.SdkTypeProxy;
namespace MyExample{
public class AuditPlugin: IPlugin
{
public void Execute(IPluginExecutionContext context)
{
//start my code.
}
}
}
4. Compile and now the dll is ready to install with register tool.
Thanks,
Rami Heleg