NOTE: I have integrated the majority of my addins into a single addin - PowerCommands for Reflector.
PowerCommands for Reflector Addin
The current version of the Reflector.Snippy addin is 0.9.3.0 (previous was 0.9.2.0). The new version now includes a Start/Run
command which is available only when the temp assembly is set to the output type of Executable (see the Reflector.Snippy
Addin entry for more detail). More ...
Removed since it no longer works with current versions of Babel.
Reflector Addin ToolKit
I've been writing Reflector add-ins now for a year or so and often find myself copying and pasting code just to get to a starting point.
I even wrote a blog entry a while ago about the typical template I used to get started (Getting started with Reflector Addins).
After reading about VSI (Visual Studio Installer) files in Working With Microsoft Visual Studio 2005 a while back, I added an item to my
mental todo list to create a set of templates I use for writing Reflector add-ins - and with two Reflector presentations coming this next
weekend, I figured now was as good a time as any to actually finish it.
All Downloads and Source are available on the CodePlex Project Site
Ways to use .Net Reflector #1
I figure a lot of you out there know how to do this and maybe just need a
reminder to do it...
This is for those times when you are in VS.Net and need to look at the code for
some dll that your project uses, but you just don't have the code handy and
VS.Net's object browser doesn't show enough information for you. In order to
make Reflector the default view/browser when you double click on a dll in the
bin directory all you need to do is the following: (I am assuming you have
Reflector already and know what the "Show All Files" button is)
Ways to use .Net Reflector #2: Create your own addins
It's been awhile since I wrote Ways
to use .Net Reflector #1, now it is time to get back to these
entries ... besides I'm organizing my material for my Code Camp session :)
You've probably seen the CodePlex
.Net Reflector Add-Ins site (and hopefully used a few), but have
you thought about writing your own add-in? In this entry, I hope
to show you a few things in order to help you get started.
Ways to use .Net Reflector #2.1: Create your own addins
In this entry I walk through creating a
Reflector add-in that exposes its own UI using a user control and works
with the Reflector code model on a simple level. This add-in will expose
itself on the context menu of the assembly browser (enabled only in certain
conditions) when clicked it will show the user control that uses the Reflector
code model of the currently selected type to provide functionality to the user.
Ways to use .Net Reflector #3: Wrap it
In this entry you will learn how to create a quick and dirty Reflector
knock off by wrapping it. The purpose of creating such an application is to get a better understanding of how the different objects
in the Reflector.CodeModel namespace interact to create the output of a disassembled assembly.
NOTE: The wrapping of Reflector is NOT supported and NOT recommended for anything other than learning purposes, like this entry.
Getting started with Reflector Addins
If you are just thinking you want to write a Reflector addin, you should first look at Introduction to the .NET Reflector Add-In Model.
Here is a very basic walk through creating a simple addin and steps to get it stopped in the debugger:
1. Open a new VS 2005 dll project
2. Give it some name (I used 'TestPackage')
3. Set a reference to your local Reflector.exe
4. Paste the following code into the class
Reflector Short-cut Key Listing
For those of you who like short cut keys, here is a list for Reflector. Most work in the AssemblyBrowser (tree view control), Bookmarks panel
and Analyzer panel, only few work in the Dissassembler panel or the Assembly Viewer (my name for it the panel at the bottom of the AssemblyBrowser).
Home Site - http://www.reflector.net/
Addin Site - http://www.codeplex.com/reflectoraddins
Reflector.Review, a lightweight code annotation tool
Refly language for reflector (preview): decompile to CodeDom!
Reflector Add-in Tutorial (+ bonus helper classes)
James Avery and Jim Holmes -
Analyzing Assemblies with Reflector
Jamie Cansdale -
Building the Reflector Add-In
James Avery - Reflector Add-in
Scott Hanselman -
Reflector 5 Released - World Domination Assured
Scott Mitchell - Decompiling
Jelle Druyts -
The Ultimate Reflector Setup
My CodeCamp 7 Presentation -
Reflector and Friends
My CodeCamp 9 Presentations and material