Sorry for this newbie question, but after 3 hours of banging my head on a wall I just got DotPeek and I found it is PERFECT for looking into .dll files. However I can't edit them at all. Is there free software like DotPeek that also lets me edit the DLL instead of just looking at it?
UPDATE: I was able to save all the .cs files in the .dll file separately and edit them in VS (Visual Studio). Now how do I get them back into the .dll file after editing?
THANK YOU!
However, dotPeek can't be used to edit disassembled code. This feature could be implemented in future. You can watch and/or vote for the corresponding feature request: In-place assembly editing: http://youtrack.jetbrains.com/issue/DOTP-533.
There are different ways to edit DLL files. You can download a DLL editor freeware, or get a DLL resource editor, here I strongly recommend you edit DLL files with a program named "Resource Hacker", which is a free and trustworthy DLL editing tool. You can easily download this program from the Internet.
You can easily open a DLL file in Visual Studio the same way you would any other file. To do so, click File in the menu bar at the top, followed by Open. Then click File and select the DLL file you want to open and click Open. This will open the DLL file in a new Resource Editor window.
Simpler method: You can use dnSpy to edit a managed DLL's bytecode directly using the right click -> "Edit IL instructions" option and save the DLL back from File -> Save Module.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With