digital1
digital1

Reputation: 13

How can I recreate codebehind files from an ASP.NET project

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.

Upvotes: 1

Views: 871

Answers (3)

Lou Franco
Lou Franco

Reputation: 89142

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

You need a decompiler to generate source.

Upvotes: 0

Justin
Justin

Reputation: 86729

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

Upvotes: 0

Jeff
Jeff

Reputation: 36553

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

You can use Reflexil to completely regenerate the VS project.

Upvotes: 1

Related Questions