Share via

vs扩展包如何获取IVsProjectCfgDebugTargetSelection接口实例

豪华 刘 1 Reputation point
2021-08-02T06:48:07.17+00:00

我写了一个vs的扩展包插件来控制调试菜单的可选项,根据IVsProjectCfgDebugTargetSelection官方文档提示,通过配置.vsct文件增加了调试菜单的下拉选项。
但是此接口需要从实现的项目的配置对象中检索 IVsDebuggableProjectCfg 。试过了很多方法就是获取不到IVsProjectCfgDebugTargetSelection实例,请问在vs扩展包插件如何获取该接口并控制自己配置的调试选项呢?

Community Center | Not monitored

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.