Is it possible to decompile an executable that when trying to decompile w/ Reflector, errors out with "Module ... does not contain a CLI header.", and if so, how to decompile this to C#?
Thank you.
Is it possible to decompile an executable that when trying to decompile w/ Reflector, errors out with "Module ... does not contain a CLI header.", and if so, how to decompile this to C#?
Thank you.
Reflector can only decompile assemblies. The reason for this is that .Net can only load and execute assemblies, not modules. The module must belong to an assembly. Find that, and the module will be loaded.
EDIT: after rereading, it seems to me more likely that you have a non-.Net DLL.
That would most likely indicate that it's not a managed assembly. Which means Reflector won't be able to decompile it.
Its most likely obfuscated. Obfuscating .Net exes will cause Reflector to show this message.