Reputation: 62836
I love the Go to Reflector menu option installed by TestDriven.NET. However, TestDriven.NET is not free for commercial use and so I do not have it at work.
Is there another tool out there that does just that - allows to jump to .NET Reflector from the source code in Visual Studio and which is totally free?
I know it is possible to develop a Visual Studio add-in that does it, but, alas, I have no time for it, so has one already been developed?
Upvotes: 5
Views: 1481
Reputation: 21684
My understanding from the author of TestDriven.NET is it is very difficult to intergrate .NET Reflector with Visual Studio. He use to provide a free .NET Reflector Add-in but (I don't remember his reason) decided to roll it up into newer versions of TestDriven.NET. I believe the source code ( (Found the old .NET 1.1 / Visual Studio 2003 source code, see the update below.) Someone probably has the original ZIP file.ReflectorVsAddin.zip
) for the original add-in is still out there.
To use with older versions of Visual Studio, I still have either all or some of the files included in ReflectorVsAddin.zip
. I am sure some hardy soul could disassemble them and create an add-in based on the techniques. Yet, searching on "Reflector Hosting" resulted in numerous articles on how to integrate .NET Reflector with your own application. I believe it would be easier to start from scratch. I personally, find using .NET Reflector externally outside of Visual Studio easier to use.
Building the Reflector Add-In
By Jamie Cansdale
Making Reflector into a Visual Studio.NET Add-In
See How to: Load Assemblies into the Reflection-Only Context.
Upvotes: 1
Reputation: 381
The latest version of Reflector have the Visual Studio add-in that you mention bundled with it for free.
Upvotes: 1
Reputation: 3800
One parial solution might be for you to do the following:
This won't get you to the exact code you were looking at (like the TD.Net addin) but it will get you into reflector in a couple of clicks, just leaving you to use find to locate the code.
Upvotes: 0