我的扩展适用于 VS2010 和 VS2012。但不是在VS2013中?
现在,如果我使用 VS2013 安装 VSIX,扩展将被安装并且在工具/扩展管理器中可见。在 Visual Studio 的 About-Dialog 中,没有 Extension 的条目。在 VS2010 和 VS2012 中是这样。
是否要安装接缝但未加载。没有可用的扩展菜单条目或命令。
但是当我安装 Visual Studio SDK 2013 时。然后加载扩展并且工作正常。我不想强迫项目中的人只为扩展安装 SDK。
菜单和命令是通过 VSCT 文件创建的。Extern-Tag 有包含 - 这些可能会造成麻烦吗?
<!--This is the file that defines the IDs for all the commands exposed by VisualStudio. -->
<Extern href="stdidcmd.h"/>
<!--This header contains the command ids for the menus provided by the shell. -->
<Extern href="vsshlids.h"/>
<Extern href="vsdbgcmd.h" />
<Extern href="vsdebugguids.h" />
或者也许应该嵌入一些程序集/互操作类型?