是否可以使用 SDK 样式项目编写 VS 扩展?
Is it possible to write VS extensions using the SDK style projects?
VS 默认创建一个遗留风格的项目。我开始手动迁移,但它无法识别 EnvDTE 的 COM 互操作引用...
有可能吗?
Is it possible at all?
据我所知这是可能的。目前,没有任何官方文档或博客描述如何迁移 vsix 项目的步骤from old csproj format to new sdk-format
,但至少这是可能的。
我们可能需要一些 msbuild hack 才能实现,这是一个很棒的开源扩展 VsVim from JaredPar that has done this trial. Thanks to him!. I think you could get some useful info from this sdk-format project file。
另外:虽然可以,但不建议在正式支持sdk格式的vsix项目之前进行迁移。执行此操作的人可能会在 vsix 开发期间失去 Project=>Properties
中的某些 UI 功能。
VS 默认创建一个遗留风格的项目。我开始手动迁移,但它无法识别 EnvDTE 的 COM 互操作引用...
有可能吗?
Is it possible at all?
据我所知这是可能的。目前,没有任何官方文档或博客描述如何迁移 vsix 项目的步骤from old csproj format to new sdk-format
,但至少这是可能的。
我们可能需要一些 msbuild hack 才能实现,这是一个很棒的开源扩展 VsVim from JaredPar that has done this trial. Thanks to him!. I think you could get some useful info from this sdk-format project file。
另外:虽然可以,但不建议在正式支持sdk格式的vsix项目之前进行迁移。执行此操作的人可能会在 vsix 开发期间失去 Project=>Properties
中的某些 UI 功能。