1

我在安装自行编写的 Visual Studio 扩展时遇到以下错误,该扩展在以前版本的 Visual Studio 2017 中肯定有效。

此扩展不可安装在任何当前安装的产品上

日志的相关摘录如下:

19-Dec-16 9:59:50 AM - Searching for applicable products...
19-Dec-16 9:59:51 AM - Found installed product - Global Location
19-Dec-16 9:59:51 AM - Found installed product - ssms 
19-Dec-1> 9:59:51 AM - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.

    at VSIXInstaller.App.InitializeInstall(Boolean isRepairSupported)

我希望看到更多这样的东西

3/15/2/17 2:21:54 PM - Searching for applicable products... 
3/15/2017 2:21:54 PM - Found installed product - Microsoft Visual Studio Enterprise 2017 
3/15/2017 2:21:54 PM - Found installed product - Microsoft Visual Studio Professional 2017 
3/15/2017 2:21:54 PM - Found installed product - Microsoft Visual Studio Community 2017 
3/15/2017 2:21:54 PM - Found installed product -> Global Location
4

2 回答 2

0

互联网搜索没有抛出任何有趣的东西,我无法“修复”这个问题,但卸载 Visual Studio 并重新安装它就可以了。

于 2017-10-11T16:40:13.697 回答
0

您应该尝试在 vsix 清单中检查您支持的 Visual Studio 风格。对于 v.3 格式,范围列中的正确数字通常以括号结尾,即版本号不包含在范围内。增加这个数字,重建并尝试重新安装 vsix。

于 2019-02-06T20:35:47.857 回答