无法在Visual Studio中为存储库安装GitHub Extension

时间:2016-04-16 16:29:04

标签: github windows-installer visual-studio-extensions

  1. 从microsoft visual studio网站(https://visualstudio.github.com/)下载扩展文件(GitHub.VisualStudio.vsix)文件
  2. 使用Visual Studio是VS2013
  3. 安装时出现问题,说“无法为提供的签名算法创建SignatureDescription”
  4. VSIX Installer error on executing GitHub.VisualStudio.vsix in Windows10

    安装日志如下:

    4/16/2016 12:18:52 PM - Microsoft VSIX Installer
    4/16/2016 12:18:52 PM - -------------------------------------------
    4/16/2016 12:18:52 PM - Initializing Install...
    4/16/2016 12:18:53 PM - Extension Details...
    4/16/2016 12:18:53 PM - 	Identifier      : c3d3dc68-c977-411f-b3e8-03b0dccf7dfc
    4/16/2016 12:18:53 PM - 	Name            : GitHub Extension for Visual Studio
    4/16/2016 12:18:53 PM - 	Author          : GitHub, Inc
    4/16/2016 12:18:53 PM - 	Version         : 1.0.18.2
    4/16/2016 12:18:53 PM - 	Description     : A Visual Studio Extension that brings the GitHub Flow into Visual Studio.
    4/16/2016 12:18:53 PM - 	Locale          : en-US
    4/16/2016 12:18:53 PM - 	MoreInfoURL     : https://visualstudio.github.com/
    4/16/2016 12:18:53 PM - 	InstalledByMSI  : False
    4/16/2016 12:18:53 PM - 	SupportedFrameworkVersionRange : [4.5,)
    4/16/2016 12:18:53 PM - 
    4/16/2016 12:18:53 PM - System.Security.Cryptography.CryptographicException: SignatureDescription could not be created for the signature algorithm supplied.
       at System.Security.Cryptography.Xml.SignedXml.CheckSignedInfo(AsymmetricAlgorithm key)
       at System.Security.Cryptography.Xml.SignedXml.CheckSignature(AsymmetricAlgorithm key)
       at System.Security.Cryptography.Xml.SignedXml.CheckSignature(X509Certificate2 certificate, Boolean verifySignatureOnly)
       at MS.Internal.IO.Packaging.XmlDigitalSignatureProcessor.Verify(X509Certificate2 signer)
       at System.IO.Packaging.PackageDigitalSignature.Verify(X509Certificate signingCertificate)
       at System.IO.Packaging.PackageDigitalSignature.Verify()
       at Microsoft.VisualStudio.ExtensionManager.InstallableExtensionImpl.GetSignatureState(ZipPackage vsixPackage)
       at Microsoft.VisualStudio.ExtensionManager.InstallableExtensionImpl.get_SignatureState()
       at VSIXInstaller.App.LogExtensionDetails(IExtension extension)
       at VSIXInstaller.App.InitializeInstall()
       at System.Threading.Tasks.Task.InnerInvoke()
       at System.Threading.Tasks.Task.Execute()

1 个答案:

答案 0 :(得分:1)

我在使用Visual Studio 2013时遇到了同样的问题。显然这个扩展需要 Visual Studio 2015或更新版

enter image description here

您可以在项目的GitHub README.md上的page文件中找到其他详细信息:

  

Visual Studio的GitHub扩展在 Visual Studio 2015 中提供GitHub集成。