我安装了Visual Studio 2015 RC并在其上安装了Visual Studio 2015 RTM.我在互联网上找不到任何说你不能这样做的东西.我不知道这是否与问题有关.
不幸的是,当我在重新启动后第一次启动VS 2015 RTM时弹出消息框:
"'Microsoft.VisualStudio.Editor.Implementation.EditorPackage'包未正确加载"
也:
我该如何解决这个错误?
它说要查看ActivityLog.xml.我找不到Microsoft.VisualStudio.Editor.Implementation.EditorPackage.
但对于XamarinShellPackage,它说:
<entry>
<record>339</record>
<time>2015/07/21 13:01:54.011</time>
<type>Error</type>
<source>VisualStudio</source>
<description>SetSite failed for package [XamarinShellPackage]</description>
<guid>{2D510815-1C4E-4210-BD82-3D9D2C56C140}</guid>
<hr>80070057 - E_INVALIDARG</hr>
<errorinfo>'providers' cannot contain a null (Nothing in Visual Basic) element.
Parameter name: providers</errorinfo>
</entry>
<entry>
<record>340</record>
<time>2015/07/21 13:01:54.013</time>
<type>Error</type>
<source>VisualStudio</source>
<description>End package load [XamarinShellPackage]</description>
<guid>{2D510815-1C4E-4210-BD82-3D9D2C56C140}</guid>
<hr>80070057 - E_INVALIDARG</hr>
<errorinfo>'providers' cannot contain a null (Nothing in Visual Basic) element.
Parameter name: …Run Code Online (Sandbox Code Playgroud) 使用Update 2在Visual Studio 2015中加载项目(在VS启动或手动加载时自动加载),我收到错误消息:"Scc显示信息包未正确加载".
ActivityLog具有:
<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)
 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>
Run Code Online (Sandbox Code Playgroud)
我在VS2015上使用Update 1安装了VS2015和更新2.我收到了错误(包...没有正确加载).
我完全卸载了VS2015.我完全重新安装了VS2015和Update 2.关于"Scc显示信息"包没有正确加载,我仍然遇到同样的问题.
更新问题似乎与我在VS2015 Update 1中遇到的问题类似.但我认为它与NuGet无关,因为我没有包含"Scc"的包.我总是将"Scc"与Visual Source Safe联系起来(它可能是相关的吗?).我怀疑问题来自注册表,但我无法弄清楚在哪里.
我尝试了Stack Overflow链接中的两个解决方案但没有成功: