Manually edit MSIL in compiled DLL
问题 If you want to make a small change to a .net application, is it possible to edit the MSIL directly? 回答1: 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. 来源: https://stackoverflow.com/questions/6746387/manually-edit-msil-in-compiled-dll