We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(7)
我会使用.NET 反射器。如果您有 PDB 文件和 DLL,您的原始变量名称将被保留(假设您没有运行任何类型的混淆器)。
I would use .NET reflector. Your original variable names will be preserved (providing you did not run any kind of obfuscator) if you have the PDB files as well as the DLLs.
我建议尝试反映您编译的代码,看看它的可读性如何。
http://www.red-gate.com/products/reflector/
I would suggest trying to reflect your compiled code and see how readable it comes out.
http://www.red-gate.com/products/reflector/
全程反光镜。您不能依赖局部变量名称,因为它们实际上并不存在(只有字段保留它们的名称),但是拥有匹配的 pdb 将大有帮助。如果您使用 pro/EAP< /a> 版本的反射器它将为您完成必须的工作(生成完整的 C# 反汇编等,因此您不必逐个方法或使用插件)。
当然,您可能仍然需要单独查看每个目录。
Reflector all the way. You can't rely on local variable names since they don't really exist (only fields retain their names), but having the matching pdb would go a long way to helping. If you use the pro/EAP version of reflector it will do must of the work for you (generating the full C# disassembly etc, so you don't have to go method-by-method or use a plugin).
You may still need to look at each directory separately, of course.
最好的办法就是使用这样的反编译器 http://www.red-gate .com/products/reflector/。您将丢失变量名称和注释,但您得到的内容将被编译。
很糟糕,但可能比从头开始要好得多。
Best you are going to get is with a decompiler like this http://www.red-gate.com/products/reflector/. You are going to lose variable names and comments, but what you get will compile.
Sucks, but probably a lot better then starting from scratch.
我使用 Telerik 的 JustDecompile 从预编译站点获取源代码。它是免费的,并且已经完成了我需要的一切。
http://www.telerik.com/products/decompiler.aspx
I used Telerik's JustDecompile to get the source code back from a precompiled site. It's free and has done everything I've needed.
http://www.telerik.com/products/decompiler.aspx
Salamander - .NET 反编译器
http://www.remotesoft.com/salamander/index.html
我已经从未使用过这个工具,但他们在 .NET rock 上讨论过它!不久前。 http://www.dotnetrocks.com/default.aspx?showNum=194
Salamander - a .NET decompiler
http://www.remotesoft.com/salamander/index.html
I've never used this tool, but they talked about it on .NET rocks! a while back. http://www.dotnetrocks.com/default.aspx?showNum=194
我遇到了类似的问题并使用 Reflector 对其进行反编译。我得到了源代码,然后更改了我想要的部分,然后重建它。然后我再次将该 dll 复制到生产站点。它开始反映我的变化。这很容易,一点也不困难,也许是因为预编译站点的每个页面都有dll,并且是可更新的,所以dll中只有代码隐藏文件。
供参考:http://www.reflector.net/
I had the similar issue and used Reflector to Decompile it. I got the source code, then changed the bit I wanted, and rebuild it. Then I copied that dll again to Production site. It started to reflect my changes. It was very easy and not at all difficult, maybe because Precompiled site had dlls for every page, and was updatable , so had only code-behind file in dll.
For reference: http://www.reflector.net/