VSIX 安装程序:无法为提供的签名算法创建 SignatureDescription

VSIX Installer: SignatureDescription could not be created for the signature algorithm supplied

无法为 Visual Studio Professional 2015 RC 安装 Productivity Power Tools Extension

  1. Visual Studio IDE,工具 > 扩展和更新 > 在线 > Visual Studio 图库
  2. visualstudiogallery.msdn.microsoft.com 站点。

Install Log

2015-07-22 8:22:27 AM - Microsoft VSIX Installer
2015-07-22 8:22:27 AM - -------------------------------------------
2015-07-22 8:22:27 AM - Initializing Install...
2015-07-22 8:22:28 AM - Extension Details...
2015-07-22 8:22:28 AM -     Identifier      : VSProPack.Microsoft.15893CD4-2422-4427-BEA8-4E28DCC26346
2015-07-22 8:22:28 AM -     Name            : Productivity Power Tools 2015
2015-07-22 8:22:28 AM -     Author          : Microsoft
2015-07-22 8:22:28 AM -     Version         : 14.0.23120.0
2015-07-22 8:22:28 AM -     Description     : A set of extensions to Visual Studio 2015 Community (and above) which improves developer productivity.
2015-07-22 8:22:28 AM -     Locale          : en-US
2015-07-22 8:22:28 AM -     MoreInfoURL     : http://go.microsoft.com/fwlink/p/?LinkID=618589
2015-07-22 8:22:28 AM -     InstalledByMSI  : False
2015-07-22 8:22:28 AM -     SupportedFrameworkVersionRange : [4.5,)
2015-07-22 8:22:28 AM - 
2015-07-22 8:22:28 AM - 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(Boolean isRepairSupported)
   at VSIXInstaller.App.InitializeInstall()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()

再次浏览描述部分后找到答案:

Productivity Power Tools 2015 can not be installed on the RC version of VS 2015.

NOTE:

This version is signed in a manner which is not supported by the RC version of Visual Studio 2015. It will only install on the RTM version. You can download the RTM version of Visual Studio 2015 here - the Visual Studio 2015 Community Edition and higher support the installation of Productivity Power Tools and other Visual Studio Extensions.

尝试安装 http://go.microsoft.com/fwlink/?LinkID=619615 (从 http://blogs.msdn.com/b/somasegar/archive/2015/07/29/building-apps-for-windows-10-with-visual-studio-2015.aspx 中找到)

我使用自定义安装选项并选择了所有内容。它将 Visual Studio 2015 Enterprise RC 升级到 Visual Studio 2015 Enterprise,现在那些最近开始未安装的扩展安装正常。这样你就可以避免重新安装所有东西的麻烦。

请注意,在安装完成后,它会显示一个启动按钮 Visual Studio,这将启动企业版(或专业版,我猜有人安装了专业版 RC)。但是,Visual Studio 2015 和 Blend 2015 的 Windows 任务栏快捷方式现在将损坏,您必须通过右键单击它们并选择属性来修复它们,然后将它们设置为 C:\Program Files (x86) \Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe 和 C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\blend.exe,假设您使用 64 位OS - 否则删除“(x86)”部分 - 并在 C: 盘上安装 Visual Studio。如果您还想念它们,您可能还希望将这些链接添加到“开始”菜单的相应文件夹(名为 Visual Studio 2015)下。