编译&解压缩dll文件 [英] Compiling & Decompiling dll files
问题描述
我已经确定在其中我必须修改代码的文件。但问题是,在我修改了唯一的1个文件后,如何编译整个文件夹和子文件夹以及其他许多我还没有编辑的文件到一个文件。 dll文件就像以前一样?
你不应该重新编译反编译代码,因为编译过程不是完全可逆的,即使.NET二进制文件您可能需要许多缺失的库,库中的不匹配等。我建议使用某种.NET程序集编辑器反编译然后修补DLL。
<一个href =http://reflexil.net =nofollow> Reflexil 是您应该检查的一个。
你也应该明白。 NET反汇编,了解如何从反编译的源代码和二进制文件中来回移动,以便您准确了解要更改的内容。
I have a .dll file which I've decompiled with the software called "Reflector7.4.1" to get the source code. After decompiling, to my surprise, I got a folder instead of a single source code file.The folder contained a bunch of other files and subfolders with files.
I have identified the file in which I have to modify the code.But the problem is,after I have modified the only 1 file, how do I compile the whole bunch of folders and subfolders and many other files that I have not edited-into a single .dll file as they were before?
You should not recompile decompiled code, since the compilation process is not completely reversible, even for .NET binaries. There are many missing libraries you might need, mismatches in libraries, etc. I would suggest decompiling and then patching the DLL using a .NET assembly editor of some sort.
Reflexil is one you should check out.
You should also understand .NET disassembly and understand how to move back and forth from the decompiled source and the binaries, so you'll know exactly what you want to change.
这篇关于编译&解压缩dll文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!