0

I have a dll file that I want to decompile. I know there are ILSpy, dotPeek and similar programs, but I have yet to find one that will actually create the cs file.

The dll I'm dealing with has several hundred classes in it and it would take days to manually copy everything.

Is there a tool that will take a dll file and return a set of cs files?

Karlovsky120
  • 6,212
  • 8
  • 41
  • 94

1 Answers1

2

ILSpy

If you have loaded a dll in ILSpy, select File -> Save Code... or type Ctrl + S.

  • If you select the dll in the tree, then it will create a cs project in a selected folder, along with C# files for each class.
  • If you select just a class in the tree, it will create just the C# file for the class.

See ILSpy.

Seth Flowers
  • 8,990
  • 2
  • 29
  • 42