Kevin Dente's Blog

The Blip in the Noise
Running Assembly Reflector Add-in

Like most .NET developers, I use (and am eternally grateful for) Reflector for .NET. Aside from Visual Studio .NET and NUnit, it's the most used tool in my development arsenal.

Something that I do fairly frequently is run a web or windows application, and then decide that I want to Reflector it (yes, Reflector has become a verb in my vocabulary). That means that I need to figure out where the application is running (which isn't always easy), and navigate there in Reflector's open file dialog. After the umpteenth time doing this, I decided to automate the process. Fortunately, Reflector has a fantastic extensibility model, so I was able to scrape together an add-in to do just this.

The add-in adds a new menu to the Tools menu called “Open Running Assembly“. Select it and the add-in displays a dialog that displays a list of managed processes running on the system. You can select the process, or any managed assembly loaded in that process, and the selections get loaded up into Reflector.

It's still pretty rough (call it version .5), but usable enough that I decided to post it. If you're interested in trying it, you can download it from here. Just unzip it into the Reflector directory and add it to Reflector's add-in list.

Update - it seems that people are being directed to the .5 version (described in this post) rather than the newer .6 version described in a subsequent posting. I've updated the link here to point to the newer version.

 

Published Sunday, June 20, 2004 3:49 PM by kevindente

Comments

# re: Running Assembly Reflector Add-in@ Sunday, June 20, 2004 6:56 PM

Nice. I love it :-)

Andrea

# re: Running Assembly Reflector Add-in@ Sunday, June 20, 2004 7:01 PM

1) Can you set the font to Tahoma and the labels to use FlatStyle.System?

2) What about using a normal TreeView instead of TreeListView? I don't like to copy around the extra files.

Andrea

# Reflector Plugins(zt)@ Tuesday, May 10, 2005 4:58 AM

TrackBack

# Reflector及相关插件@ Thursday, November 09, 2006 9:11 PM

以前用Reflector,一次只能查看类的一个成员,感觉很不爽。今天搜索了一下发现几个好的插件,特别是Reflector.FileDisassembler,可以直接把一个.dll反编译并输出到一个路径,如图:其下载地址:http://www.denisbauer.com/NETTools/FileDisassembler.aspx另外贴几个Reflector其他插件:...

梦想永存

# re: Can't load addin@ Wednesday, November 15, 2006 2:47 PM

I can't get this addin to load - using v0.6 together with reflector v4.2.48.0.   All I get is an error in Reflector that the addin failed to load (no explanation why...)

Other Reflector addins load fine.

Ivan

# re: Running Assembly Reflector Add-in@ Wednesday, November 15, 2006 10:53 PM

Ivan,

You need to upgrade to the latest version of the add-in. See:

http://weblogs.asp.net/kdente/articles/438539.aspx

Kevin Dente

Leave a Comment

(required) 
(required) 
(optional)
(required)