The first step in plug-in deployment involves registering your plug-in and signing the assembly with a strong name key file. A strong name key is necessary for security so that the assembly can be trusted to execute external code, such as when invoking a web service. To sign your assemblies, follow these steps:
Create a new strong name key file by selecting New from the drop-down.
To deploy your plug-in, you need to register it. You can do this pro grammatically or using a tool that comes with the CRM SDK called the Plug-in Registration Tool. The Plug-in Registration Tool comes as an application and is located in the SDK\Tools\PluginRegistration folder.
Registering and deploying plug-ins can be done using the plug-in registration tool. The tool is available in Dynamics 365 SDK. Here’s how to do it:
If you have access to multiple organizations on the server, choose the one to connect to.