将菜单添加到加载项内的 Visual Studio 菜单栏
是否可以在外接程序内创建一个自定义菜单并将其添加到 Visual Studio 的主菜单栏?
我希望加载项创建公司特定菜单(如果尚不存在),然后将其自己的特定命令添加到该菜单。这样,如果提供了多个加载项,那么它们都可以将命令添加到同一菜单中。
我找到了 msdn 链接,用于创建 VSPackage 的演练但这不是来自加载项,它需要自己的特定安装/注册。
Is it possible to create an add a custom menu to the main menu bar in Visual Studio within an Add-In?
I want the Add-In to create a company specific menu if it does not already exist and then add its own specific command to that menu. That way if multiple Add-Ins are supplied then they can all add the commands to the same menu.
I have found an msdn link for a walkthrough in creating a VSPackage which does this but not from within an Add-In and it requires its own specific installation/registration.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)