本文介绍了的Visual Studio 2015年更新2 - 'SCC的显示信息包未正确加载“的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 加载在Visual Studio 2015年项目与Update 2(自动当VS启动或手动加载),我收到一个错误说:SCC的显示信息包未正确加载Loading a project in Visual Studio 2015 with Update 2 (either automatically when VS start or manual load), I receive an error saying: 'The Scc Display Information package did not load correctly'. ActivityLog有:The ActivityLog has: <entry> <record>541</record> <time>2016/04/01 13:43:26.048</time> <type>Error</type> <source>VisualStudio</source> <description>SetSite failed for package [Scc Display Information][An item with the same key has already been added.]:{ at Microsoft.VisualStudio.Services.VsTask.InternalGetResult(Boolean ignoreUIThreadCheck)&#x000D;&#x000A; at Microsoft.VisualStudio.Services.VsTask.GetResult()}</description> <guid>{D7BB9305-5804-4F92-9CFE-119F4CB0563B}</guid> <hr>80070057 - E_INVALIDARG</hr> <errorinfo></errorinfo> </entry> <entry> <record>542</record> <time>2016/04/01 13:43:26.050</time> <type>Error</type> <source>VisualStudio</source> <description>End package load [Scc Display Information]</description> <guid>{D7BB9305-5804-4F92-9CFE-119F4CB0563B}</guid> <hr>80070057 - E_INVALIDARG</hr> <errorinfo></errorinfo> </entry> 我更新2安装VS2015在VS2015与更新1.我得到了错误(包...正确地做无负载时)。I installed VS2015 with Update 2 over VS2015 with Update 1. I got the error (package ... did no load correctly).我卸载VS2015彻底。 我重新安装了VS2015与更新2完全。我仍然有关于SCC的显示信息包未正确加载同样的问题。I uninstalled VS2015 completely.I reinstalled VS2015 with Update 2 completely. I still have the same problem about 'The Scc Display Information' package did not load correctly'. 更新这个问题似乎类似于同样的问题,我曾与VS2015更新1 。但是,我想是因为我没有包在里面应力腐蚀抗力,它是不相关的的NuGet。我总是相关的应力腐蚀抗力与Visual源安全(难道是相关的?)。我怀疑来自注册表中的问题,但我想不通的地方。Update The problem seems similar to the same problem I had with VS2015 Update 1. But I think it is not related to NuGet because I have no package with "Scc" in it. I always associated "Scc" with Visual Source Safe (could it be related ?). I suspect the problem come from the registry but I can't figure out where.我想这两种解决方案,从这个的无功而返堆栈溢出链接:I tried both solutions from this Stack Overflow link without success: 运行命令:C:\Program文件(x86)\Microsoft的Visual Studio 14.0\Common7\IDE\devenv.exe/ resetskippkgs 删除文件夹ComponenModelCache (C:\Users\XXXX\AppData\Local\Microsoft\VisualStudio\XX\ComponentModelCache) 不知道如何解决这个问题?Any idea how to fix this?推荐答案这是,如果你有一定的MSSCCI-引起安装的基于SCC提供商。您可以检查您的注册表的HKLM关键: SOFTWARE\WOW6432Node\SourceCodeControlProvider This is caused if you have certain MSSCCI-based SCC providers installed. You can check your registry's HKLM key: SOFTWARE\WOW6432Node\SourceCodeControlProvider如果该键存在,这是可能导致的问题。 If this key is present, that's likely causing the problem. 从的KB3151378 。 2015年VS Update 2的全新安装后,2016年4月11日自动包含此修复程序和修复不需要手动安装是必要的。New installations of VS 2015 Update 2 after 4/11/2016 automatically include this fix and no manual installation of a fix is necessary.如果你不使用任何有提到的SCC提供者,尝试重命名关键 SourceCodeControlProvider _ (加下划线)。那么软件包必须装入干净。If you don't use any of the SCC providers mentioned there, try renaming the key to SourceCodeControlProvider_ (added underscore). The package should then load cleanly.我们正在对航运的VS2015更新2修复来解决问题,甚至当你安装了基于MSSCCI SCC供应商合作We're working on shipping a fix for VS2015 Update 2 to resolve the issue even while you have MSSCCI-based SCC providers installed.(微软员工) 这篇关于的Visual Studio 2015年更新2 - 'SCC的显示信息包未正确加载“的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
09-22 02:43