|
From: Pinky_n_need_of_a_brian on 29 Jun 2008 03:27 I am in need of serious help. I developed a web application for a client while I was travelling and posted the web application to his website via the Publish web site in Visual Studio 2008. Everything published just fine and everything works fine. The problem is my laptop hard drive crashed and I no long have the source. I need to make changes to the previous code behind files, which don't exist now. I was able to get a copy of the published web site. Is there away to restore the code behind files? *** Sent via Developersdex http://www.developersdex.com ***
From: Jason Keats on 29 Jun 2008 04:53 Pinky_n_need_of_a_brian wrote: > I am in need of serious help. I developed a web application for a > client while I was travelling and posted the web application to his > website via the Publish web site in Visual Studio 2008. Everything > published just fine and everything works fine. > > The problem is my laptop hard drive crashed and I no long have the > source. I need to make changes to the previous code behind files, which > don't exist now. I was able to get a copy of the published web site. > > Is there away to restore the code behind files? > If you no longer have access to your *.vb code files, then you will need to use a decompiler, such as Reflector: http://www.aisto.com/roeder/dotnet/ You will also need an add-in to save the decompiled code to files: http://www.codeplex.com/reflectoraddins As long as you haven't used an obfuscator to make decompilation harder, you should get reasonable results.
From: Michel Posseth [MCP] on 29 Jun 2008 13:14 As Jason said Reflector is the magic word in this case however you must be aware of the following fact . The code might look different because of the compilers optimizers , for instance if you declared a string and used it as a constant the value of this string is used in method calls , the outcome of the code is the same but it might look a bit weird to you as you know that you did not code it this way dead code is even removed from the assembly hth michel "Jason Keats" <jkeats(a)melbpcDeleteThis.org.au> schreef in bericht news:O41tjWc2IHA.2064(a)TK2MSFTNGP05.phx.gbl... > Pinky_n_need_of_a_brian wrote: >> I am in need of serious help. I developed a web application for a >> client while I was travelling and posted the web application to his >> website via the Publish web site in Visual Studio 2008. Everything >> published just fine and everything works fine. The problem is my laptop >> hard drive crashed and I no long have the >> source. I need to make changes to the previous code behind files, which >> don't exist now. I was able to get a copy of the published web site. >> >> Is there away to restore the code behind files? > > If you no longer have access to your *.vb code files, then you will need > to use a decompiler, such as Reflector: > http://www.aisto.com/roeder/dotnet/ > > You will also need an add-in to save the decompiled code to files: > http://www.codeplex.com/reflectoraddins > > As long as you haven't used an obfuscator to make decompilation harder, > you should get reasonable results.
|
Pages: 1 Prev: Getting really frustrated with help not signing in to forums Next: Hate Your Job? |