locked
Plugin registration versus solution deployment RRS feed

  • Question

  • Greetings,

    Is there any article that contrasts the scenarios that we need to use solutions to deploy or register a plugin versus using the plugin registration?

    Thank you,

    Thursday, October 9, 2014 4:19 PM

Answers

  • If you are developing a plugin you should use the registration tool to upload the .dll every time you have a new build. Once the plugin is stable, you include it in a solution and you can then deploy it to other systems. The rule of thumb I use is: use the registration tool for development and the development environment, use solution deploy for test, staging and prod.

    Infusion | xrm2011.wordpress.com | @fantocci


    • Edited by Alberto Gemin Thursday, October 9, 2014 7:27 PM
    • Proposed as answer by Mohd Saad Friday, October 10, 2014 4:09 AM
    • Marked as answer by amx2012 Friday, October 10, 2014 8:43 PM
    Thursday, October 9, 2014 7:26 PM
  • Hi,

    You can't register steps by using the solution gui so the first time add the plugin and steps you have to use the plugin registration tool, to move between deployments you can use the solutions as Alberto says.

    You have to have the plugin registered in the database to be able to move it if I'm not mistaken, that can be a good thing to remember.
    The closest thing to an article I've found on short notice is this: http://msdn.microsoft.com/en-us/library/gg309580.aspx but that doesnt cover the differences though, it gives a bit of insight on how you use the plugin registration tool (don't know if you need that though). One thing that I've found is that there's some other dependencies to the plugin registration tool that you need other than the exe file since I get errors when I only have the exe-file and try to run it, I haved studied it further.

    I hope you find some tips helpful!


    Rickard Norström Developer CRM-Konsulterna
    http://www.crmkonsulterna.se
    Swedish Dynamics CRM Forum: http://www.crmforum.se
    My Blog: http://rickardnorstrom.blogspot.se

    • Marked as answer by amx2012 Friday, October 10, 2014 8:43 PM
    Friday, October 10, 2014 8:41 AM

All replies

  • Hello,

    When you register plugins you can register only plugins (thanks to cpt. Obvious).

    When you import solution you can import entities, relationships, workflows, dialogs, reports e.t.c. and plugins.

    I'm not sure what is unclear for you. Could you please rephrase your question?


    Dynamics CRM MVP/ Technical Evangelist at SlickData LLC
    My blog

    • Proposed as answer by Mohd Saad Friday, October 10, 2014 4:09 AM
    Thursday, October 9, 2014 4:35 PM
    Moderator
  • If you are developing a plugin you should use the registration tool to upload the .dll every time you have a new build. Once the plugin is stable, you include it in a solution and you can then deploy it to other systems. The rule of thumb I use is: use the registration tool for development and the development environment, use solution deploy for test, staging and prod.

    Infusion | xrm2011.wordpress.com | @fantocci


    • Edited by Alberto Gemin Thursday, October 9, 2014 7:27 PM
    • Proposed as answer by Mohd Saad Friday, October 10, 2014 4:09 AM
    • Marked as answer by amx2012 Friday, October 10, 2014 8:43 PM
    Thursday, October 9, 2014 7:26 PM
  • Hi,

    You can't register steps by using the solution gui so the first time add the plugin and steps you have to use the plugin registration tool, to move between deployments you can use the solutions as Alberto says.

    You have to have the plugin registered in the database to be able to move it if I'm not mistaken, that can be a good thing to remember.
    The closest thing to an article I've found on short notice is this: http://msdn.microsoft.com/en-us/library/gg309580.aspx but that doesnt cover the differences though, it gives a bit of insight on how you use the plugin registration tool (don't know if you need that though). One thing that I've found is that there's some other dependencies to the plugin registration tool that you need other than the exe file since I get errors when I only have the exe-file and try to run it, I haved studied it further.

    I hope you find some tips helpful!


    Rickard Norström Developer CRM-Konsulterna
    http://www.crmkonsulterna.se
    Swedish Dynamics CRM Forum: http://www.crmforum.se
    My Blog: http://rickardnorstrom.blogspot.se

    • Marked as answer by amx2012 Friday, October 10, 2014 8:43 PM
    Friday, October 10, 2014 8:41 AM