除了 TestDriven.NET 之外,是否有免费工具可以将 .NET Reflector 与 Visual Studio 集成?
我喜欢 TestDriven.NET 安装的转到 Reflector 菜单选项。但是,TestDriven.NET 并不是免费用于商业用途,因此我在工作中没有使用它。
是否有另一个工具可以做到这一点 - 允许跳转到 .NET Reflector Visual Studio 中的源代码是完全免费的吗?
我知道可以开发一个 Visual Studio 插件来实现这一点,但是,唉,我没有时间,那么已经开发出一个插件了吗?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
最新版本的 Reflector 有您提到的免费捆绑的 Visual Studio 插件。
The latest version of Reflector have the Visual Studio add-in that you mention bundled with it for free.
我从 TestDriven.NET 作者那里了解到,将 .NET Reflector 与 Visual Studio 集成是非常困难的。他曾经提供免费的 .NET Reflector 插件,但(我不记得他的原因)决定将其整合到 TestDriven.NET 的新版本中。
我相信原始加载项的源代码 ((找到旧的 .NET 1.1 / Visual Studio 2003 源代码,请参阅下面的更新。)有人可能拥有原始 ZIP 文件。ReflectorVsAddin.zip
) 仍然存在。为了与旧版本的 Visual Studio 一起使用,我仍然保留了
ReflectorVsAddin.zip
中包含的全部或部分文件。我相信一些坚强的人可以拆解它们并根据这些技术创建一个插件。然而,搜索“Reflector Hosting”会出现大量有关如何将 .NET Reflector 与您自己的应用程序集成的文章。我相信从头开始会更容易。我个人认为,在 Visual Studio 之外使用 .NET Reflector 更容易使用。更新
构建 Reflector 插件
作者:杰米·坎斯代尔
将 Reflector 制作为 Visual Studio.NET 加载项
更新
请参阅如何:将程序集加载到仅反射上下文中。
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.Update
Building the Reflector Add-In
By Jamie Cansdale
Making Reflector into a Visual Studio.NET Add-In
Update
See How to: Load Assemblies into the Reflection-Only Context.
一种简单的解决方案可能是让您执行以下操作:
这不会让您找到您正在查看的确切代码(如 TD.Net 插件),但只需单击几下即可进入 Reflector,只需使用 find来定位代码。
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.