在已编译的DLL中手动编辑MSIL [英] Manually edit MSIL in compiled DLL

查看:88
本文介绍了在已编译的DLL中手动编辑MSIL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果要对.net应用程序进行一些小的更改,是否可以直接编辑MSIL?

If you want to make a small change to a .net application, is it possible to edit the MSIL directly?

推荐答案

使用 ildasm.exe 进行反编译并使用 ilasm.exe 。对于强命名程序集,如果希望重新编译的程序集具有与原始程序集相同的标识,则将需要密钥文件。

Use ildasm.exe to decompile and recompile with ilasm.exe. For strong-named assemblies you will need the key file if you want that the recompiled assembly has the same identity as the original assembly.

这篇关于在已编译的DLL中手动编辑MSIL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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