Generate PDB from .NET DLL file?

BrunoLM picture BrunoLM · May 18, 2010 · Viewed 18.3k times · Source

I need something that can generate a PDB from a DLL file (C# .NET code), is there any free program to do that?

Answer

gdbdable picture gdbdable · Oct 10, 2013

Even you have no sources and code obfuscated, you can create pdb by recompile with ildasm and ilasm:

  • decompile assembly by ildasm: ildasm /out=assembly_name.il assembly_name.dll
  • complile with ilasm: ilasm assembly_name.il /dll /pdb