1

Unfortunately, recently the developer that used to work on my site decided to disappear, I have all the files to my site (including the DLLs in the bin folder) but none of the codebehind files. This is making it impossible for me to debug in VS.NET.

Is there a way to recreate codebehind files for a web project from the DLLs in the bin?

I can already view the code in the dlls using a refactoring tool but the tool doesnt let me generate the asp.cs files. Please help.

digital1
  • 13
  • 2

3 Answers3

1

Can I use .NET Reflector to modify & recompile the code quickly?

You can use Reflexil to completely regenerate the VS project.

Community
  • 1
  • 1
Jeff
  • 35,755
  • 15
  • 108
  • 220
0

Your best bet is to decompile the DLLs in the bin folder using something like Reflector.

Justin
  • 84,773
  • 49
  • 224
  • 367
  • Thanks for your response. I have decompiled the DLLs, using that same tool. But it does not recreate the files. I need to recreate the asp.cs files – digital1 Dec 07 '10 at 02:05
  • @digital1 - There are add-ons for Reflector that can save the decompiled source to file. – Justin Dec 07 '10 at 02:17
0

.NET Reflector Pro from Redgate will let you debug (generates source on the fly).

You need a decompiler to generate source.

Lou Franco
  • 87,846
  • 14
  • 132
  • 192