Can I use .NET Reflector to modify & recompile the

2019-03-09 23:14发布

Is it possible to use .NET Reflector (or an other tool) to modify and recompile the code quickly (that is, without dumping the source and then use Visual Studio to recompile it)?

3条回答
Luminary・发光体
2楼-- · 2019-03-09 23:42

You can probably use the Reflexil add-in for Reflector to do that:

Reflexil is an assembly editor and runs as a plug-in for Reflector. Using Mono.Cecil, Reflexil is able to manipulate IL code and save the modified assemblies to disk. Reflexil also supports 'on the fly' C# and VB.NET code injection.

查看更多
三岁会撩人
3楼-- · 2019-03-09 23:47

It's possible with .Net reflector along with reflexil. First download reflexiil and then open .net relector and load the reflexil into it using View->addins->select the reflexil file(all dlls) and then load. After that open the required dll file and go to tools->select reflectil, open the code and identify the required item, then edit..give to the assemblyy and select save as to save it to new file

查看更多
爱情/是我丢掉的垃圾
4楼-- · 2019-03-10 00:09

.NET Reflector cannot do this, but other tools can decompile .NET assemblies, for example FileDisassembler (an add-in for .NET Reflector).

查看更多
登录 后发表回答