› Dynamics 365, Enterprise › Decompiling the code from the plugin dlls
Decompiling 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:
- Open XRM Tool Box–> Assembly Recovery Tool–> Select the plugin–> Click on Export to disk
- Dll will be downloaded in the local drive
- Download the code Decompile tool. Link is given below https://www.jetbrains.com/decompiler/
- After download Open the Decompile Toolà Open the dll from local drive
- Your code will be decompiled as shown below
- Only issue is we must disable the previous plugin and register the plugin assembly and steps again.
- Now we can make changes in the code.
Retrieving the codes from dynamics CRM dlls can be done by following the above easy steps.
Liked it? Share it.