Deploy single plugin from plugin project? RRS feed

  • Question

  • We've developed a visual studio solution using the Developer Toolkit.  To this solution we've added 20 plugins which corresponds to 20 class files.  Everything works perfectly and the code has been moved from Development to UAT and then to Production via CRM Solutions.

    Given the importance of our Production environment, we would like to be able to deploy individual plugin changes.  For example, if we update a single plugin class, we would like to update only that plugin without redeploying the other 19 plugins that haven't had any changes.  

    Is it possible to deploy a single plugin from a solution created with the developer toolkit?  The reason we're asking is prior to the developer toolkit, we had to develop plugins as separate dll's and these were individually registered with the registration tool.  Since the developer toolkit creates a single assembly with all the plugin code, is it possible to deploy changes only in a single plugin class?

    Wednesday, May 14, 2014 4:28 AM


  • Plugin class code is necessarily part of the overall plugin assembly, so you have to deploy the whole assembly to deploy code changes.

    However, if the other classes have not changed, how much of a problem is it to update them when you deploy the assembly ?

    If you do need to deploy individual plugin classes separately, then you'd have to split them into different assemblies. This should be possible with the Developer Toolkit, though I think it would take some effort to change an existing environment, as I think the plugin classes will get new primary keys, so all plugin steps would need to be recreated 

    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    • Proposed as answer by Markuphub Wednesday, May 14, 2014 1:49 PM
    • Marked as answer by Cipher Wednesday, June 4, 2014 1:33 PM
    Wednesday, May 14, 2014 8:20 AM