Telerik blogs

Although the command prompt has fallen out of vogue in the past few years, developers and power users alike invoke cmd when a job calls for finesse. Command line support is also essential for many scripting and automation languages, such as MSBuild. JustDecompile has the ability to export code directly from the command prompt. For ease of use, I recommend adding %PROGRAMFILES(X86)%\Telerik\JustDecompile\Libraries to your path.

To decompile an assembly from the prompt, use the command JustDecompile.exe /out:[OutputDirectory] /target:[PathAndAssemblyName]. This currently only supports csharp, but in the future the /lang switch will enable you to target other languages.

You may find yourself wanting to decompile an assembly after browsing to it in Windows Explorer, but you have open JustDecompile from the start menu and load the assembly through it. This is a productivity killer, and we have responded by adding JustDecompile to the Explorer context menu.

explorercontext

We’ve also added a few enhancements from within JustDecompile. You can now choose to load .NET 3.5 assemblies.

jusdecompile35

WindowsBase, PresentationFramework, and PresentationCore are now part of the assembly lists.

jusdecompileassemblies

Finally, Collapse All was added to the assembly tree’s context menu to improve the intuitiveness of the GUI.

jusdecompileCollapseAll

There are many more enhancements under the covers: JustDecompile is faster and produces better results than ever before. If you don’t already have JustDecompile in your toolbox, give it a try today!


About the Author

Chris Eargle

is a Microsoft C# MVP with over a decade of experience designing and developing enterprise applications, and he runs the local .NET User Group: the Columbia Enterprise Developers Guild. He is a frequent guest of conferences and community events promoting best practices and new technologies. Chris is a native Carolinian; his family settled the Dutch Form region of South Carolina in 1752. He currently resides in Columbia with his wife, Binyue, his dog, Laika, and his three cats: Meeko, Tigger, and Sookie. Amazingly, they all get along... except for Meeko, who is by no means meek.

Comments

Comments are disabled in preview mode.