web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

How to Extract Plugin C# Code from the solution

(1) ShareShare
ReportReport
Posted on by 3,255
Hi All
I have deployed several plugins as below. As a backup or recovery is there a way to extract the source code from the plugin from the solution? Is syncing the visual studio projects to Github the best alternative?
I have the same question (0)
  • Suggested answer
    Holly Huffman Profile Picture
    6,538 Super User 2025 Season 2 on at
    Hi there!
    Good morning, evening, afternoon :) depending on where you are! 
    Hope you are well today :) 
     
    - since source code cannot be extracted directly form the deployed solution in D365, it is recommended best practice for backup / recovery is to maintain version of source code using a system like GitHub, DevOps, etc. 
     
    - for information on detailed steps regarding syncing to GitHub, check this link out: git fetch, pull, push, & sync - Visual Studio (Windows) | Microsoft Learn
     
    hope this helps :) 
  • Suggested answer
    Nitesh Raj Profile Picture
    188 on at

    Hi Samantha,

    For your issue, I recommend using the Assembly Recovery Tool from XrmToolBox. This tool will allow you to extract the assembly binaries (DLL files) from your Dynamics 365 environment.

    Once you have the DLL files, you can use JetBrains dotPeek to decompile and analyze the code. While this will help you inspect the contents, please note that it won’t fully reconstruct the original source code with 100% accuracy.

    Let me know if you need any help with the process!

    If this answer helped you, please consider approving it.

    Best Regards,
    Nitesh Raj

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 70 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 33 Most Valuable Professional

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans