Thursday, March 29, 2012

Opening the Visual Studio .NET DLL

OK, I've just done something really stupid, I've deleted a .aspx.vb file by mistake, and the only backup I have is too old, I may as well just start again, however, I have a Visual Studio .NET dll with the latest .aspx.vb file in it...is there any way to retrieve this?!?!?! ANy way at all?

TIA!!!Dont think so I'm afraid.

Some languages, like java, allow you to de-compile your class files into the source. Most people dont want you to be able to do this and so I think that your out of luck with VB and the rest of the .net languages. There are some programs that can decompile (they call it reverse engineering) but i dont know how sucessful they are because its a very hard problem to solve - when compiled your code gets changed, variables and functions lose their nice friendly names and the code is optimised for computer reading - not human.

I hope you have some luck somewhere though.

Feel free to correct me if I'm overlooking some solution

Simon
Having the pdb file in addition to the dll could help disassemblers.

0 comments:

Post a Comment