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.