Last post Jul 03, 2013 07:59 PM by R Nim
Aug 04, 2009 08:50 AM|Krishna_Sridharan|LINK
Sorry if it is not the right place to ask this question.
I need to modify the source of a .dll file and recompile after modifying it.
(The dll is having functions that performs search operation.)
Can anyone tell me how to do it?
I heard it is possible using ildasm and ilasm. But i don't know to use it either.
Please help me out.
Aug 04, 2009 08:46 PM|ravikatha|LINK
You can use .NET Reflector to analyze and decompile .NET code. It is free.
File Disassembler Addon:
Aug 04, 2009 08:49 PM|ravikatha|LINK
Once you use the reflector and file disassembler addin to decompile the dll into c# or VB source code, you can modify and recompile them with normal C# or VB compiler using command line or using Visual Studio.
Please note however that the decompilation process is not completely recompilable. But you should be able to figure it out.
Aug 05, 2009 11:00 AM|Krishna_Sridharan|LINK
Thanks for the reply ravi.
Can you send me the step by step process of it? Because i couldn't able to use the disassembler add-in.
I downloaded .Net reflector from this link
http://www.red-gate.com/products/reflector/ and get to see a portable file "Reflector" which is running on my machine without installing it. I can able to see the dll's functions and code using this .Net reflector. I just require to modify these function
and recompile it to as a dll again.
When i download the add-in from the link you have given, i get a dll file with couple of text files. how can i use this disassembler add-in to modify the code? Please help me.
Aug 05, 2009 11:18 AM|Krishna_Sridharan|LINK
Thanks. I got the way to add the file disassembler add-in. Hope this will be a reference for the viewers.
Its in View - > Add-Ins
And i provided that downloaded Reflector.FileDisassembler.dll file here. It got added.
then , Tools -> File Disassembler.
I have given my dll here and got the source.
Aug 05, 2009 11:23 AM|ravikatha|LINK
I am glad that it helped you. Can you please mark my post as answer.
Jul 03, 2013 07:59 PM|R Nim|LINK
Which version of .NET Reflecot are you using? Trial, Basic, or Pro?
I just downloaded the Trial version today and do not see these options. Need to know if I need to get the Pro version to do this, or if the Basic version will do.