安装 Visual Studio 2019 后无法在 Visual Studio 2017 上安装扩展

问题描述:

VSIXInstaller 中仅存在 Visual Studio 2019,缺少 Visual Studio 2017,当我想安装专门用于 Visual Studio 2017 的扩展时,我不能这样做

Only Visual Studio 2019 is present in VSIXInstaller, Visual Studio 2017 is missing and when I want to install the extension specifically for Visual Studio 2017 I can't do that

我相信这个问题是由于Visual Studio 扩展文件"没有在'.vsixmanifest'.

I believe this issue crops up due to the 'Visual Studio Extension File' not having the appropriate supported VS Version Numbers specified in the '.vsixmanifest'.

(更改支持的版本号范围将允许支持以前或未来版本的 Visual Studio.)

(Changing the supported Version Number range will allow support for previous or future versions of Visual Studio.)

这是我的回答的链接,其中涵盖了问题和解决方案.(其中有一个允许 VS 2015 的工作示例,其中仅支持 VS 2012)

Here is a Link to an answer of mine which covers the issue and resolution. (Which has a worked example of allowing VS 2015 where only VS 2012 was supported)