简体   繁体   中英

How to compile the dll back after decompile C# dll?

我使用反射器反编译了一个asp.net dll,此后我发现了错误并修复了它,现在我想将其编译回dll,然后进行部署,但是似乎无法执行此操作?

You have two choices, either you use Reflector's addin Filedisassembler , which is free, or commercial ( and pricy) .net dissemblers such as spices.net or salamander decompiler .

I used Filedisassembler; the quality of the decompiled code is very bad. The decompiler code cannot be recompiled.

I'm sure about the quality of commercial decompilers but I suspect that it would be much better.

Edit: To use Filedisassembler, go to Reflector, View->Addins , click Add and select the Filedisassembler.dll .

If the fix is simple enough and you know IL, you are better of round tripping it using IL instead of a high-level language such as C# or VB.Net.

See search: http://www.google.com/#hl=en&q=ildasm+IL+round-tripping

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM