Reflector Add-In Resurrection

You must have been hiding under a rock if you haven't heard about the new version of Lutz Roeder's .NET Reflector by now. With its support for generics, loading any version of mscorlib (including 2.0 and Mono) and the refreshing of assemblies you're in for a treat! This means all of the frustrations faced by my original Reflector Add-In are gone.

Lutz has been kind enough to give me all of the code and hooks needed to make a maintainable version of the add-in. This time round I won't be faced with breakages on every new revision of Reflector (they were coming every few days at one point). Even obfuscation turned out to be a good thing as it removed the temptation to dip into internal stuff that was likely to change.

Here is a link to the new add-in and release notes...

Name: 
Reflector.VisualStudio
Feed: http://weblogs.asp.net/nunitaddin/category/5004.aspx
Description: An add-in for Visual Studio that hosts .NET Reflector and synchronizes the selected CodeElement.
Unzip files into the same directory as Reflector.exe. The resulting directory structure should look like this...
Reflector.exe Reflector.VisualStudio.exe Reflector.VisualStudio.exe.config VisualStudio\MutantDesign.ManagedAddIns.dll VisualStudio\MutantDesign.ManagedAddIns.Services.dll
From the command line execute "Reflector.VisualStudio.exe /install". To remove the add-in execute "Reflector.VisualStudio.exe /uninstall".

To launch .NET Reflector in a tool window select 'Addins/Reflector'. Once started you can 'Synchronize Reflector' (just like Synchronize Class View) on any code element.  This includes methods, fields, classes etc.  Let me know if you find any code elements that don't work in C# projects (support should be pretty comprehensive).  I haven't tested it at all with VB so I'd be interested to know how you get on there.

There is a known issue if you close Visual Studio before closing Reflector.  Your tool window positions won't be saved (which is a bit annoying).  There should be a fix for this later on in the week.  Bug reports are welcome, please comment here.

Published Monday, May 03, 2004 2:00 AM by Jamie Cansdale
Filed under:

Comments

# re: Reflector Add-In Resurrection !!

I just installed the addin and it shows up in an addin menu, I can right click and see reflector menus but Reflector never shows up.

Using C#.

Sunday, May 02, 2004 11:01 PM by Paul Speranza

# Reflector 4.0 and Plugin

So, I get the "hot off the presses news" that Reflector 4.0 was released yesterday. I download, and of course,...

Monday, May 03, 2004 6:48 AM by TrackBack

# New and Notable 52

Monday, May 03, 2004 10:51 AM by TrackBack

# A Quick Outline

Monday, May 03, 2004 11:19 AM by TrackBack

# re: Reflector Add-In Resurrection !!

Yeah!! Really cool.

Monday, May 03, 2004 12:28 PM by Andre

# Reflector add-in blues (and gosh darn it, I read the readme)

Monday, May 03, 2004 1:06 PM by TrackBack

# re: Reflector Add-In Resurrection

Folder structure should be:-
Reflector.exe
Reflector.VisualStudio.exe
Reflector.VisualStudio.exe.config
VisualStudio\MutantDesign.ManagedAddIns.dll
VisualStudio\MutantDesign.ManagedAddIns.Services.dll

Like Paul, installation of the add-in works for me, but when you click, Reflector never shows up.

Tuesday, May 04, 2004 3:02 AM by Andrew Webb

# For me in VB Reflector does not work

For me in VB Reflector does not work
... If you have installed ... <http://weblogs.asp.net/nunitaddin/archive/2004/05/03/124844.aspx> the .NET Reflector Visual Studio add-in you can outline a class by doing the following. Click on Reflector from the Addins main menu (this step will be obsolete in the next release). Right click anywhere inside the class you want to outline (away from any fields or methods) and select ' Reflector .../Outline '. At this point a new tool window should appear showing your outlined class.

I do not see new windows

Dmitri
dposudin@borlas.ru

Tuesday, May 04, 2004 3:06 AM by Dmitri

# Reflector 4.0


Reflector 4.0 is a must-have, because it finally fixes a decompilation bug that has probably been in Reflector since inception. I.e. method System.IO.Path.CheckInvalidPathChars is finally reverse-compiled properly into C#. Previously it got the operator wrong, reporting == when it should be !=

It would be nice to have a list of known decompilation bugs (hopefully there are none left). With such bugs lurking, you can't rely on a tool like Reflector to be a CLR source-code browser.

Tuesday, May 04, 2004 3:10 AM by Andrew Webb

# re: Reflector Add-In Resurrection

The !=/== thing was there since 3.4.6.0. I can image that he fixed it in the new code and never updated the old one?

Wednesday, May 05, 2004 12:50 AM by Frank

# Pozn

Wednesday, May 05, 2004 3:59 AM by TrackBack

# Pozn

Wednesday, May 05, 2004 4:01 AM by TrackBack

# re: Reflector Add-In Resurrection

No luck in VB .NET here either.

Thursday, May 06, 2004 12:51 AM by Mike Gunderloy

# re: Reflector Add-In Resurrection

More pain than gain. Doesn't work.
And after installation, you can't use reflector anymore from the explorer window.

Thursday, May 06, 2004 7:54 PM by Eric

# .NET Links

Well, I have a ton of links built up that I'd like to post, so instead of posting them individually, I'll just throw them all at you at once. Enjoy. :) I'm not sure where I saw it first, but...

Saturday, May 08, 2004 6:34 AM by TrackBack

# re: Reflector Add-In Resurrection

is there any way to keep it in sync while Debugging?

Sunday, May 09, 2004 5:43 PM by Yosi Taguri

# re: Reflector Add-In Resurrection

Hi Yosi,

Not yet. I have some pretty decent unit tests created for the sync with C# code functionality (I'll need to do the same from VB and J#). I'm thinking about how to do the same thing with stack frame sync. It should be possible - just a little more tricky.

There is another possability. One of the reflector add-ins will output the source for a whole assembly. If you could output PDB files at the same time you could step through decompiled code. This would be pretty sweet. :)

Stay tuned, Jamie.

Monday, May 10, 2004 8:45 AM by Jamie Cansdale

# re: Reflector Add-In Resurrection

The ultimate VS integration would be to show decompiled rather than disassembled code when you double-click on a line-item in the call stack while debugging. As you know, VS jumps to the disassembly for the code - even core framework code - but decompiled code would kick ass!

Do you think it is technically possible?

Thursday, May 20, 2004 12:02 PM by Eron Wright

# re: Reflector Add-In Resurrection

The link to the zip file is broken. Is there somewhere else I can download it from?

Thursday, May 20, 2004 8:38 PM by Marc Rohloff

# re: Reflector Add-In Resurrection

The add-in URL yields a 404 error. Any idea where I can download this add-in?

Friday, July 23, 2004 12:08 AM by Dave Black

# Visual Studio Hacks

Wednesday, January 26, 2005 4:59 PM by TrackBack

# re: Reflector Add-In Resurrection

Interesting...

Sunday, June 10, 2007 3:26 PM by Thanasis

# re: Reflector Add-In Resurrection

Nice...

Monday, June 11, 2007 9:02 AM by Giorgos

# re: Reflector Add-In Resurrection

Wednesday, June 13, 2007 8:30 PM by Tomko

# re: Reflector Add-In Resurrection

Sunday, August 05, 2007 1:23 AM by Tsuruda

# re: Reflector Add-In Resurrection

Over worked and not enough fun, I think I'll take the advised that was given to me about Charlisangels exotic

resorts in the Dominican Republic.

Thursday, November 29, 2007 9:03 PM by Sammy

# re: Reflector Add-In Resurrection

<a href="www.micapullo.info/rosenthal33.html">creature">www.micapullo.info/rosenthal33.html">creature consciousness rosenthal</a> [url=www.micapullo.info/rosenthal33.html]creature consciousness rosenthal[/url] creature consciousness rosenthal www.micapullo.info/rosenthal33.html,<a href="www.morewuz.info/jada20.html">jada">www.morewuz.info/jada20.html">jada hayworth</a> [url=www.morewuz.info/jada20.html]jada hayworth[/url] jada hayworth www.morewuz.info/jada20.html,<a href="www.micapullo.info/rosenthal33.html">ed rosenthal super bud</a> [url=www.micapullo.info/rosenthal33.html]ed rosenthal super bud[/url] ed rosenthal super bud www.micapullo.info/rosenthal33.html,<a href="www.micapullo.info/rosenthal33.html">old rosenthal china</a> [url=www.micapullo.info/rosenthal33.html]old rosenthal china[/url] old rosenthal china www.micapullo.info/rosenthal33.html,<a href="www.glandered.info/freehold81.html">bob">www.glandered.info/freehold81.html">bob white ufo proof positiveo hare ufo freehold township n j</a> [url=www.glandered.info/freehold81.html]bob white ufo proof positiveo hare ufo freehold township n j[/url] bob white ufo proof positiveo hare ufo freehold township n j www.glandered.info/freehold81.html,

Thursday, December 20, 2007 6:51 AM by rosenthal studio linie

Leave a Comment

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