How do you extract classes' source code from a dll file?

后端 未结 10 556
感情败类
感情败类 2020-12-14 16:55

Is there any software to do this? I didn\'t find any useful information on the internet so I am asking here.

相关标签:
10条回答
  • Use Refractor. Download from here.

    1. Open the software after installing.
    2. Press Ctrl + O and select your DLL File.
    3. Dll will be shown in left pane.
    4. Right click on Dll and select Export Source Code.
    5. Select the folder in which you want to export your files
    6. Wait for a while it may take 2-3 minutes

    0 讨论(0)
  • I used Refractor to recover my script/code from dll file.

    0 讨论(0)
  • 2020-12-14 17:08

    You cannot get the exact code, but you can get a decompiled version of it.

    The most popular (and best) tool is Reflector, but there are also other .Net decompilers (such as Dis#). You can also decompile the IL using ILDASM, which comes bundled with the .Net Framework SDK Tools.

    0 讨论(0)
  • 2020-12-14 17:08

    Use dotPeek

    Select the .dll to decompile

    That's it

    0 讨论(0)
  • 2020-12-14 17:09

    Use .NET reflector.

    0 讨论(0)
  • 2020-12-14 17:12

    You can use Reflector and also use Add-In FileGenerator to extract source code into a project.

    0 讨论(0)
提交回复
热议问题