.NET Reflector for Mono [closed]

Is there an equivalent of .NET Reflector for Mono? Quick googling did not find anything... Or can I run Reflector on Mono (say, in Mac OS X)?

14.10.2009 00:15:39
6 ОТВЕТОВ
РЕШЕНИЕ

As I was looking for a Mono decompiler, I found this page and tested the answers :

  • Mono.Cecil works great but it's a library and I was looking for a GUI
  • ILSpy doesn't run under Mono (Linux) since it uses WPF. Same for .NET CodeReflect, JustDecompile and dotPeek.
  • Perhaps Reflector works, but I don't really want to pay to know

Finally I found it was possible to decompile assemblies directly in MonoDevelop

13
19.11.2013 19:08:58
How did you achieve decompiling assemblies directly in MonoDevelop? I can't figure out how to do this.
user396070 18.04.2013 07:45:01
@Micah Delane Bolen, this surely deserves its own question, but I will be generous this time :) Add your dll file as a reference to your project. Then double-click on the reference and TADAM the awesome MonoDevelop will show you the decompiled code.
Nicolas 18.04.2013 21:01:08
I see the interface in MonoDevelop but NOT the decompiled code.
user430788 3.08.2014 16:57:27
@user430788 You have to select the C# language at the top right corner in the assembly navigator.
antoyo 9.02.2016 19:18:56

Reflector works fine on Mono (at in older versions), provided you turn off the "Show PDB symbols" option.

Miguel de Icaza blogged about this at one point.

10
14.10.2009 00:21:17
to my surprise, you're right, it does work on Mac OS X!!! Just do "mono reflector.exe" in terminal!!!
zvolkov 14.10.2009 00:28:39
How do you get reflector.exe without Windows? Currently, their download is an installer which doesn't run under mono.
Eliot 21.08.2014 18:55:11
@Eliot Copy it across - old versions were zip deployments...
Reed Copsey 21.08.2014 19:13:22
@Reed You're assuming I have a copy of Windows. ;) But yes, I'll try that when I have a chance.
Eliot 27.08.2014 20:08:13

reflector 6.0 dose not support Mono,only 5.1.7supports mono.

mono reflector.exe /compat

:)

1
13.04.2010 13:12:47

There is a new project called ILSPY that is trying to build an open source version of reflector: http://wiki.sharpdevelop.net/ILSpy.ashx

4
17.03.2011 00:44:20
ILSPY works quite well, I have added it to the O2 Platform and am now using it every day (instead of reflector)
Dinis Cruz 24.03.2011 13:21:55
I tried IlSpy, but it tells me the same as Reflector ** (ILSpy.exe:10897): WARNING **: The following assembly referenced from ****/ilSpy/ILSpy.exe could not be loaded: Assembly: PresentationFramework (assemblyref_index=5) Version: 4.0.0.0 Public Key: 31bf3856ad364e35 The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (****/ilSpy/).
Arne 30.10.2011 21:47:26
ILSpy is WPF based, and it cannot run on Mono yet.
Lex Li 5.12.2013 02:59:07
You can use it as a cli application, see e.g. github.com/andreif/ILSpyMono
Andrei 23.04.2016 12:35:26

Have any one tried Mono Cecil ?

With Cecil, you can load existing managed assemblies, browse all the contained types, modify them on the fly and save back to the disk the modified assembly; potentially might even be more powerful than Reflector!

I am about to review it.

1
4.04.2011 13:36:27

Mono Cecil. Red-Gate Reflector is totaly based on it. Se this RedGate forum post for more information.

1
1.06.2011 11:52:58