Thursday, October 20, 2011
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...