我可以使用 MEF 将内容添加到 vs2010 右键单击​​上下文菜单中吗?

发布于 2024-10-03 08:55:18 字数 106 浏览 1 评论 0原文

具体处理扩展vs2010右键菜单。 我可以使用 MEF 将内容添加到右键单击上下文菜单吗?我知道这本来是 2009 年就在进行中的事情,所以我想现在可能已经有了,或者我是否因此而坚持使用 MAF?

Specifically dealing with extending the vs2010 right-click context menu.
Can I use MEF to add content to a right-click context menu. I know that was something that was supposedly in the works back in 2009 so I figured maybe there is now or, am I stuck with MAF for that?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

澜川若宁 2024-10-10 08:55:18

没有 MEF 不能在 Visual Studio 2010 中使用来扩展右键单击菜单系统。执行此操作需要 Visual Studio 包,并且可能还需要一个额外的 VSCT 文件。好消息是它们可以打包在一个 DLL 中。

No MEF cannot be used in Visual Studio 2010 to extend the right click menu system. Doing that requires a Visual Studio Package and likely an additional VSCT file. The good news is though they can be packaged together in a single DLL.

笑,眼淚并存 2024-10-10 08:55:18

您可以使用托管菜单扩展将解决方案资源管理器的上下文菜单编写为 MEF 部分。

You can use Managed Menu Extensions to write context menus for the solution explorer as MEF parts.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文