Try Microsoft Edge
A fast and secure browser that's designed for Windows 10
What if you lost your Project or Plugin Code or let’s say a developer who owned the code for your plugin/Custom Workflow?
Recently I faced this issue
I lost one of my Code Active Class and I had no backup, No File on VSTS or any source control, No Server Sync, Nothing.
The only thing i had was instance where that plugin/Code Activity was registered.
I want to give all the code base of that Plugin to my new Developer team (This time internal).
So my problem was HOW DO I GET ALL CODE BASE JUST FROM MY REGISTERED PLUGIN/CODE ACTIVITY ?
Step 1 : Just Create a new solution.
Step 2 :
Once Solution Created
Click Component > Click Add Existing > Click Plugin – Assembly > Select your Plugin Assembly (Which you want the code of)
Step 3 :
Export your Solution
Click Export Solution > Follow Wizard (No Need to publish all Customization or no need to select anything)
Just Export your Solution as an Unmanaged Solution.
Step 4 :
You will get a SolutionName.zip file.
UnZip this File
Go to SolutionName > PluginAssemblies > Your Plugin Folder > and you will see your DLL here.
Oh So you got the DLL but now challenge is how you get the code of DLL??
Now Go to Following Link [I assume you will have visual studio >= 2010]
Click on Download which is on top right corner.
Click ReSharper Ultimate
Step 5 : Install The Resharper, its straight forward installer.
It will select whichever visual studio you have and will get installed on all unless if you untick any.
Step 6 :
Once ReSharper is installed.
Open your Visual studio
You can see ReSharper Add in is included in your Visual studio Ribbon.
Create any project (I choose to had Class Library).
Reference your DLL.
Once you reference your DLL there
Right click on that DLL and Select Open in Assembly Explorer.
OR you can do
Resharper > Windows > Assembly Explorer
Now After Selecting Open in Assembly Explorer.
You will find your DLL in this explorer.
Navigate to Class of which you want the Code.
Double Click it and you will find the whole Code you just Lost it.
You can even get code of base class or Derived Class.
This will Get your Code out of your Plugin Tool or Plugin Assembly which is registered in your Sandbox Instance Database.
Hope it Helps!