This tool uses the API provided in the SDK of Microsoft Dynamics CRM 2011:
This tool is intended to be compiled by Visuals Studio 2010 within the .NET Framework 4.0 and is intended for Microsoft Dynamics CRM 2011.. The tool exists in a Visual Studio Solution called PluginRegistrationTool.sln and consists of a Console Application Project called PluginRegistrationTool.csproj and a Test Project called PluginRegistrationToolTestProject.csproj. The tool has the option of using an AssemblyRegistration.xml XML file providing the input parameters with an AssemblyRegistration.xsd schema. The tool also has the option of being called directly from code, as indicated by the Unit Test called RegisterTest in the RegistrationHelperTest Class in the PluginRegistrationToolTestProject Test Project. It is also possible to add the registered plugins or CWAs to a specific solution, which can be specified in the XML file. This is provided in the SolutionUniqueName node within the relevant Registration node. Each Registration can therefore be linked to a different Solution. The AssemblyRegistration.xml and AssemblyRegistration.xsd files correlate with the AssemblyRegistration.cs Class in the project. The AssemblyRegistration XML consists of the following:
The Console Application accepts the following parameters:
Richard Mueller edited Revision 1. Comment: Added tags
Johan Küstner edited Original. Comment: updated by Johan Küstner
Sometimes plugin registration tool did not register the plugin, because the full debug folder is not with the main dll. I think this could be considered here.