10 Sep’17

Dynamics 365, EnterpriseDecompiling the code from the plugin dlls


There can be a possibility that we lost our plugin code and dlls are already present in Dynamics CRM and we want to extract the code from Dynamic CRM. We don’t have a code backup and we are supposed to make changes in the code as we have some errors in plugin or we need to reconstruct the code. In such situation, we can follow the below steps to decompile the code.

We can make use of XRM Tool Box and some tool to decompile dll.


Steps to be followed are given below:

  1. Open XRM Tool Box–>  Assembly Recovery Tool–>  Select the plugin–> Click on Export to disk
  2.  Dll will be downloaded in the local drive
  3.  Download the code Decompile tool. Link is given below https://www.jetbrains.com/decompiler/
  4. After download Open the Decompile Toolà Open the dll from local drive
  5. Your code will be decompiled as shown below
  6. Only issue is we must disable the previous plugin and register the plugin assembly and steps again.
  7. Now we can make changes in the code.


Retrieving the codes from dynamics CRM dlls can be done by following the above easy steps.

Written by

Krishna Bhanushali

Software Developer

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.

Want to streamline your business processes?

  • This field is for validation purposes and should be left unchanged.

Recent Articles

  • Managing mailbox through Email Archiving

    20 March’ 2018

    Introduction: Email can fill your Outlook Inbox quickly – new messages, replies, and forwards. Before you know it, yo...

    Read more
  • Workaround to Report.SAVEASPDF in NAV 2018

    20 March’ 2018

    Objective: In NAV 2017 Emailing the PDF by running the report using Report.SAVEASPDF is now not allowed in NAV 2018. Th...

    Read more
  • Dynamics 365 Client Diagnostics

    15 March’ 2018

    Main cause of Performance Issues: Bandwidth and latency are the primary characteristics which affects the performance o...

    Read more
  • Closing Blind Shift in MPOS and CPOS in Dynamics 365 for Retail

    15 March’ 2018

    Manual For closing Blind shift in POS: Blind shifts terminate the currently ongoing shift and when logged in a new shif...

    Read more
  • Persistent Filters in the Power BI Service

    13 March’ 2018

    Introduction: The feature is finally release, and it is power BI has announced general availability of persistent filt...

    Read more