【问题标题】:Visual Studio extensionVisual Studio 扩展
【发布时间】:2010-12-08 10:16:11
【问题描述】:

我想在“服务参考”项的上下文菜单和“服务参考”文件夹的上下文菜单中添加一个菜单项,但我似乎找不到要列出的正确 ID作为父母。

到目前为止,我已经能够找到项目节点、引用节点和引用项的上下文菜单的 ID。

我一直在搜索 vsshlids.h,但找不到正确的 ID。

【问题讨论】:

    标签: visual-studio vspackage


    【解决方案1】:

    我使用“EnableVSIPLogging”来获取我的 ID……它很管用……看看:

    http://blogs.msdn.com/b/dr._ex/archive/2007/04/17/using-enablevsiplogging-to-identify-menus-and-commands-with-vs-2005-sp1.aspx

    【讨论】:

    • 我已经尝试过了,但我似乎无法理解如何在 .vsct 文件中使用该信息。你能提供一个coden-p吗?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-11-22
    • 2019-02-09
    • 2012-04-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多