Headpuster
Headpuster

Reputation: 267

Showing the IL Code of a .net assembly?

I try to decompile a .net assembly. Currently I get the class- and typenames. But how do I get the IL Code of the whole binary?

Upvotes: 2

Views: 1210

Answers (3)

Antony Thomas
Antony Thomas

Reputation: 3696

1) Open the assembly in ILDasm GUI.
2) File -> Dump (Ctrl-D)
3) Choose options
4) Save the IL file

Upvotes: 0

Ry-
Ry-

Reputation: 225183

Specify the output:

ildasm /OUT=decompiled.il file

Need further help? Next time, try running ildasm /?.

Upvotes: 4

Code on the Commode
Code on the Commode

Reputation: 154

Check out Ildasm. Here is the documentation from MSDN.

Upvotes: 5

Related Questions