Published
Thursday, July 30, 2009 4:10 PM
Yes, absolutely.
You can use one of these add-ins to extract a .NET assembly to source:
http://www.denisbauer.com/NETTools/FileDisassembler.aspx
http://www.codeplex.com/FileGenReflector
You could even use these add-ins to convert from VB to C# or vice versa just by decompiling the compiled assembly into your desired language. If you've generated XML documentation FileDisassembler will even re-insert that documentation into the generated source code. Note that .NET Reflector's source code generation is not always perfect, so you may have to do a little work to get the generated source to compile.
You need to sign in to comment on this blog
About Bart Read
Bart has done many things since he started work at Red Gate Software Ltd in August 2004, but nowadays he's (mainly) the product manager for the .NET Developer Tools. He still feels like this is a bit like admitting you were cheering for the Empire whilst watching Star Wars, but for now he's along for the ride. In a previous incarnation he was a project manager leading the .NET Reflector Pro, ANTS Memory Profiler 5, ANTS Performance Profiler 4 & 5, and SQL Prompt 3.0 - 3.6 projects. He still occasionally writes some code and, in the past, has touched the code for most of the Red Gate SQL developer tools... some of them still haven't recovered from the shock. He was born and grew up in Dorset, was educated in Nottingham and London, and likes music and real ale. His photo is extremely misleading.