最近我试图在visual studio 2015中安装企业库6.0,但是安装程序抛出了一个错误:
VSIXInstaller.NoApplicableSKUsException:此扩展名不能安装在任何当前安装的产品上。
我解决不了。
19-Dec-16 9:59:48 AM - Microsoft VSIX Installer
19-Dec-16 9:59:48 AM - -------------------------------------------
19-Dec-16 9:59:48 AM - Initializing Install...
19-Dec-16 9:59:48 AM - Extension Details...
19-Dec-16 9:59:48 AM - Identifier : A42E118F-C41F-47A2-ADB5-04CDEBF8EB90
19-Dec-16 9:59:48 AM - Name : EnterpriseLibrary.Config.v6
19-Dec-16 9:59:48 AM - Author : Microsoft
19-Dec-16 9:59:48 AM - Version : 6.0.1304.1
19-Dec-16 9:59:48 AM - Description : Launches the Microsoft Enterprise Library v6 Configuration Console
19-Dec-16 9:59:48 AM - Locale : en-US
19-Dec-16 9:59:48 AM - MoreInfoURL :
19-Dec-16 9:59:48 AM - InstalledByMSI : False
19-Dec-16 9:59:48 AM - SupportedFrameworkVersionRange : [4.5]
19-Dec-16 9:59:48 AM -
19-Dec-16 9:59:50 AM - SignatureState : ValidSignature
19-Dec-16 9:59:50 AM - SignedBy : Microsoft Corporation
19-Dec-16 9:59:50 AM - Certificate Info :
19-Dec-16 9:59:50 AM - -------------------------------------------------------
19-Dec-16 9:59:50 AM - [Subject] : CN=Microsoft Corporation, OU=MOPR, OU=OPC, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
19-Dec-16 9:59:50 AM - [Issuer] : CN=Microsoft Code Signing PCA, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
19-Dec-16 9:59:50 AM - [Serial Number] : 33000000B2E6906F8BE7453D5B0001000000B2
19-Dec-16 9:59:50 AM - [Not Before] : 25-Jan-13 4:03:41 AM
19-Dec-16 9:59:50 AM - [Not After] : 25-Apr-14 4:03:41 AM
19-Dec-16 9:59:50 AM - [Thumbprint] : E4EEC5DFB7F413E5A15191DA00D017F97E3A6260
19-Dec-16 9:59:50 AM -
19-Dec-16 9:59:50 AM - Supported Products :
19-Dec-16 9:59:50 AM - Microsoft.VisualStudio.Ultimate
19-Dec-16 9:59:50 AM - Version : [11.0]
19-Dec-16 9:59:50 AM - Microsoft.VisualStudio.Premium
19-Dec-16 9:59:50 AM - Version : [11.0]
19-Dec-16 9:59:50 AM - Microsoft.VisualStudio.Pro
19-Dec-16 9:59:50 AM - Version : [11.0]
19-Dec-16 9:59:50 AM -
19-Dec-16 9:59:50 AM - References :
19-Dec-16 9:59:50 AM - -------------------------------------------------------
19-Dec-16 9:59:50 AM - Identifier : Microsoft.VisualStudio.MPF
19-Dec-16 9:59:50 AM - Name : Visual Studio MPF
19-Dec-16 9:59:50 AM - Version : [10.0,)
19-Dec-16 9:59:50 AM - MoreInfoURL :
19-Dec-16 9:59:50 AM - Nested : No
19-Dec-16 9:59:50 AM -
19-Dec-16 9:59:50 AM - Signature Details...
19-Dec-16 9:59:50 AM - Extension is signed with a valid signature.
19-Dec-16 9:59:50 AM -
19-Dec-16 9:59:50 AM - Searching for applicable products...
19-Dec-16 9:59:51 AM - Found installed product - Microsoft Visual Studio Professional 2015
19-Dec-16 9:59:51 AM - Found installed product - Microsoft Visual Studio Community 2015
19-Dec-16 9:59:51 AM - Found installed product - Microsoft Visual Studio 2015 Shell (Integrated)
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-16 9:59:51 AM - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
at VSIXInstaller.App.InitializeInstall(Boolean isRepairSupported)
at VSIXInstaller.App.InitializeInstall()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
有人能帮我吗?
发布于 2016-12-20 03:22:37
从日志文件中,我们可以获得对VS 2012极限/溢价/专业版的扩展支持,并发现安装的产品是VS 2015,因此出现了“此扩展在任何当前安装的产品上不可安装”的错误消息,我们也可以从微软企业图书馆6的系统需求中了解到这一点。
要解决这个问题,您可以查看这个类似的问题并直接下载Microsoft.Practices.EnterpriseLibrary.ConfigConsole.V6.VS2015.vsix (来源)并使用它进行安装,它在我这边工作得很好。
发布于 2016-12-19 07:02:48
此VSIX只用于使用11 (Visual 2012),错误表明--因此您可以使用该版本而不是VS 2015。
以下是版本列表:
发布于 2019-05-06 12:57:47
为了修改此扩展以允许支持Visual 2015,您必须进入“Visual扩展”安装程序。
请注意,对于报表中的版本号,将指定一个显式版本,该版本映射到Visual的给定版本。(例如:“11.0”对应于“Visual Studio 2012”)
但是,如果在版本号之后添加逗号,则允许您为版本支持设置显式范围,或在给定版本之后打开对所有版本的支持。
下面是一些例子。
(只允许相对于2012年)
Microsoft.VisualStudio.Ultimate版本: 11.0
(只允许与2012年和2015年相比)
Microsoft.VisualStudio.Premium版本: 11.0,14.0
(允许所有VS版本晚于2012年) Microsoft.VisualStudio.Pro版本: 11.0,
下面是Mads最初的博客邮报,它将Visual扩展从VS 2017移植到VS 2019年,以供参考。
https://stackoverflow.com/questions/41215916
复制相似问题