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

MemoryLeak picture MemoryLeak · Mar 23, 2010 · Viewed 7.6k times · Source

I use reflector to decompile a asp.net dll, after that I find the bug and fixed it, now I want to compile it back to a dll, then I can deploy, but it seems that I can't how can I do this ?

Answer

Graviton picture Graviton · Mar 23, 2010

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.