使用 Iron Ruby 创建 VIsual Studio 插件
不久前,在一场 .Net 会议上,John Lam 演示了如何使用 Iron Ruby 创建 VS 插件。当时创建新的 VS 插件似乎比现在要容易得多。我在哪里可以得到这方面的例子,或者有人知道对我来说更好的起点。
Some time ago at one of the .Net conferences John Lam gave a demonstration of how to use Iron Ruby to create VS add in's. At the time it seemed alot easier than what you currently have to do to create new VS add in's. Where can I get an example of this or does someone know a better starting point for me.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
查看IronRuby 论坛上的帖子。
您必须使用托管 DLR 和 IronRuby 的 C# 创建 Visual Studio 插件。
但是您无法避免必须处理 EnvDTE,这是 VS 2k8 可扩展性中最糟糕的部分。
在 VS 2010 中做到这一点应该容易得多。
Check this post on the IronRuby forum out.
You would have to create visual studio add-in with C# that hosts the DLR and IronRuby.
But you wouldn't be saved from having to deal with EnvDTE which is the horrible part of VS 2k8 extensibility.
To do this in VS 2010 should be much easier.
John Lam 在 VS 中支持 IronRuby 时展示了该演示。这种支持尚未通过 POC 阶段。
该演示还使用了当前不可用的 rubyaddin.rb 文件。
这两件事可能使这个演示变得像以前一样流畅......
但是,一旦您有了一些 IronRuby VS 插件项目的模板,我想从那时起使用 IronRuby 编写 VS 插件会容易得多。我很快就会尝试提出这样一个项目。
John Lam showed that demo when he had IronRuby support in VS. This support hasn't made it past the POC stage.
The demo also used a rubyaddin.rb file which isn't available currently.
These two things probably made this demo as fluent as it was...
However, once you have some template of IronRuby VS addin project, I guess that writing VS addins with IronRuby will be much easier from that point on. I'll try to come up with such a project soon.