Question

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 ?

Was it helpful?

Solution

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.

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top