DOTNET DLL反编译和修改代码 [英] dotnet dll decompile and change the code

查看:295
本文介绍了DOTNET DLL反编译和修改代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要改变的.NET的DLL的代码。我能看到编译使用.NET反射DLL的代码,但我不能够改变DLL的代码。在.NET反射,我反编译的代码,并保存在我的硬盘上,但是当我能够重新编译代码它给人的错误。

I need to change the code of the .NET DLL. I am able to see the code by compilable the DLL with .NET reflector, but I am not able to change the code of the DLL. With .NET Reflector, I decompile the code and saved in to my hard disk, but when i am able to recompile the code its giving errors.

很少的代码在反编译二进制格式少量代码反编译的C#。 ?是否有更改和重新编译DLL的任何工具

Few code is decompiled in binary format few code is decompiled with c#. Is there any tool to change and recompile the DLL?

下面是我用来试图反编译DLL的工具:

Here are the tools I used for trying to decompile the DLL:


  • ILSpy

  • DisSharp

  • Reflector7.1随着Reflexil插件

  • Spices.Net.Suite.5.8

  • 部署.NET 1.0.0

  • devextras.codereflect

  • dotPeek-1.0.0.2545

  • intellilock

  • JustDecompile_BETA_2011.1.728.1

  • ILSpy
  • DisSharp
  • Reflector7.1 With the Reflexil plugin
  • Spices.Net.Suite.5.8
  • Deploy .NET 1.0.0
  • devextras.codereflect
  • dotPeek-1.0.0.2545
  • intellilock
  • JustDecompile_BETA_2011.1.728.1

不幸的是,没有给人完美的源代码重新编译DLL的代码的工具。

Unfortunately, none of the tools giving perfect source code to recompile the DLL code.

推荐答案

我'已经在重新编译的DLL了有限的成功。要去了解它一个更好的办法是使用反射和 Reflexil 插件。你需要有IL代码,构成了.NET程序集,但Reflexil确实描述了OP代码的非常出色的好一点知识。我有一个小穿行在我的我是如何用来修改PowerShell命令帮助编辑博客: http://csharpening.net/?p = 348

I've had limited success in recompiling DLLs. A better way of going about it is to using Reflector and the Reflexil plugin. You need to have a bit better knowledge of the IL code that makes up .NET assemblies but Reflexil does a great job of describing the OP codes. I have a little walk through on my blog about how I used to modify the PowerShell Cmdlet Help Editor: http://csharpening.net/?p=348

这篇关于DOTNET DLL反编译和修改代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆