安装Visual Studio扩展的问题,此扩展不能安装在任何当前安装的产品上

时间:2018-11-28 13:32:52

标签: visual-studio visual-studio-extensions vsix

嗨,我正在使用Visual Studio Community 2017,但似乎在安装扩展程序时遇到问题...

我尝试从This link安装Visual Studio Live Share扩展,并按照说明进行操作...

当我尝试运行从此链接下载的文件时,我得到了This error

以下是它提供给我的日志

28/11/2018 14:42:43 - Microsoft VSIX Installer
28/11/2018 14:42:43 - -------------------------------------------
28/11/2018 14:42:43 - vsixinstaller.exe version:
28/11/2018 14:42:43 - 15.0.403+g26ad50685f
28/11/2018 14:42:43 - -------------------------------------------
28/11/2018 14:42:43 - Command line parameters:
28/11/2018 14:42:43 - C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VSIXInstaller.exe,C:\Users\user\Downloads\Microsoft.VisualStudio.LiveShare.vsix
28/11/2018 14:42:43 - -------------------------------------------
28/11/2018 14:42:43 - Microsoft VSIX Installer
28/11/2018 14:42:43 - -------------------------------------------
28/11/2018 14:42:44 - Initializing Install...
28/11/2018 14:42:44 - Extension Details...
28/11/2018 14:42:44 -   Identifier         : Microsoft.VisualStudio.LiveShare
28/11/2018 14:42:44 -   Name               : VS Live Share - Preview
28/11/2018 14:42:44 -   Author             : Microsoft
28/11/2018 14:42:44 -   Version            : 0.3.953.0
28/11/2018 14:42:44 -   Description        : Real-time collaborative development  from the comfort of your favorite tools.
28/11/2018 14:42:44 -   Locale             : en-US
28/11/2018 14:42:44 -   MoreInfoURL        : 
28/11/2018 14:42:44 -   InstalledByMSI     : False
28/11/2018 14:42:44 -   SupportedFrameworkVersionRange : [4.5,)
28/11/2018 14:42:44 - 
28/11/2018 14:42:46 -   SignatureState     : ValidSignature
28/11/2018 14:42:46 -   SignedBy           : Microsoft Corporation
28/11/2018 14:42:46 -   Certificate Info   : 
28/11/2018 14:42:46 -       -------------------------------------------------------
28/11/2018 14:42:46 -       [Subject]       : CN=Microsoft Corporation, OU=OPC, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
28/11/2018 14:42:46 -       [Issuer]        : CN=Microsoft Code Signing PCA 2010, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
28/11/2018 14:42:46 -       [Serial Number] : 330000026ECE6AE5984BFC96A900000000026E
28/11/2018 14:42:46 -       [Not Before]    : 07/09/2018 00:00:30
28/11/2018 14:42:46 -       [Not After]     : 07/09/2019 00:00:30
28/11/2018 14:42:46 -       [Thumbprint]    : 99B6246883B4B32EA59AE18B36945D205A876800
28/11/2018 14:42:46 - 
28/11/2018 14:42:46 -   Supported Products : 
28/11/2018 14:42:46 -       Microsoft.VisualStudio.Community
28/11/2018 14:42:46 -           Version : [15.0.27220,)
28/11/2018 14:42:46 - 
28/11/2018 14:42:46 -   References         : 
28/11/2018 14:42:46 -   Prerequisites      : 
28/11/2018 14:42:46 -       -------------------------------------------------------
28/11/2018 14:42:46 -       Identifier   : Microsoft.VisualStudio.Component.CoreEditor
28/11/2018 14:42:46 -       Name         : Visual Studio core editor
28/11/2018 14:42:46 -       Version      : [15.0,)
28/11/2018 14:42:46 - 
28/11/2018 14:42:46 -       -------------------------------------------------------
28/11/2018 14:42:46 -       Identifier   : Microsoft.VisualStudio.Component.JavaScript.TypeScript
28/11/2018 14:42:46 -       Name         : JavaScript and TypeScript language support
28/11/2018 14:42:46 -       Version      : [15.0,)
28/11/2018 14:42:46 - 
28/11/2018 14:42:46 -       -------------------------------------------------------
28/11/2018 14:42:46 -       Identifier   : Microsoft.VisualStudio.Component.Roslyn.LanguageServices
28/11/2018 14:42:46 -       Name         : C# and Visual Basic
28/11/2018 14:42:46 -       Version      : [15.0,)
28/11/2018 14:42:46 - 
28/11/2018 14:42:46 -       -------------------------------------------------------
28/11/2018 14:42:46 -       Identifier   : Microsoft.VisualStudio.Component.Debugger.JustInTime
28/11/2018 14:42:46 -       Name         : Just-In-Time debugger
28/11/2018 14:42:46 -       Version      : [15.0,)
28/11/2018 14:42:46 - 
28/11/2018 14:42:46 - Signature Details...
28/11/2018 14:42:46 -   Extension is signed with a valid signature.
28/11/2018 14:42:46 - 
28/11/2018 14:42:46 - Searching for applicable products...
28/11/2018 14:42:46 - Found installed product - Global Location
28/11/2018 14:42:46 - Found installed product - Visual Studio Community 2017
28/11/2018 14:42:46 - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
   at-  VSIXInstaller.App.GetInstallableData(String vsixPath, Boolean isRepairSupported, IEnumerable\`1& skuData)
   at-  VSIXInstaller.App.Initialize(Boolean isRepairSupported)
   at-  VSIXInstaller.App.Initialize()
   at-  System.Threading.Tasks.Task\`1.InnerInvoke()
   at-  System.Threading.Tasks.Task.Execute()

我还尝试从here安装Doxygen扩展名,但是得到了相同的错误和几乎相同的日志...

有关发生的事情以及如何解决的任何想法?

2 个答案:

答案 0 :(得分:0)

15.0.403是vsixinstaller的非常旧的版本。对于最新的VS 2017更新,它应该是15.9.3032。

尝试在系统磁盘上搜索新的vsixinstaller.exe版本。

答案 1 :(得分:0)

  

安装Visual Studio扩展存在问题,该扩展不能安装在任何当前安装的产品上

在安装某些扩展程序时,我们需要了解有关此扩展程序的一些信息。

对于Visual Studio Live Share扩展,主页上有安装

enter image description here

需要 Visual Studio 2017 15.6 或更高版本。

对于扩展名Doxygen,这是 Visual Studio Team Services扩展名,不适用于Visual Studio,并且还具有一些先决条件:

enter image description here

希望这会有所帮助。