'ProviderPackage' 包未正确加载 [英] The 'ProviderPackage' package did not load correctly
问题描述
我安装了 Visual Studio 2012 和更新 2.安装更新 2 后,当我加载任何项目时,我收到以下错误:
I installed Visual Studio 2012 and at a later date Update 2. After installing Update 2, when I load any project, I get the following error:
---------------------------
微软 Visual Studio
---------------------------
ProviderPackage"包未正确加载.
---------------------------
Microsoft Visual Studio
---------------------------
The 'ProviderPackage' package did not load correctly.
问题可能是由配置更改或安装其他扩展引起的.您可以通过检查文件C:\Users\username\AppData\Roaming\Microsoft\VisualStudio\11.0\ActivityLog.xml"来获取更多信息.
The problem may have been caused by a configuration change or by the installation of another extension. You can get more information by examining the file 'C:\Users\username\AppData\Roaming\Microsoft\VisualStudio\11.0\ActivityLog.xml'.
继续显示此错误消息?
---------------------------
是 否
---------------------------
Continue to show this error message?
---------------------------
Yes No
---------------------------
找到 ActivityLog.xml
后,我看到以下错误集:
After locating the ActivityLog.xml
, I see the following set of errors:
<entry>
<record>300</record>
<time>2013/04/23 18:32:54.002</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Begin package load [ProviderPackage]</description>
<guid>{5F2E5E42-4192-4D79-A0D8-1D881E808829}</guid>
</entry>
<entry>
<record>301</record>
<time>2013/04/23 18:32:54.012</time>
<type>Error</type>
<source>VisualStudio</source>
<description>SetSite failed for package [ProviderPackage]</description>
<guid>{5F2E5E42-4192-4D79-A0D8-1D881E808829}</guid>
<hr>80131522</hr>
<errorinfo>Method 'GetHostedIntellisenseTypes' in type 'Microsoft.VisualStudio.Progression.DTEWrapperCached' from assembly 'Microsoft.VisualStudio.GraphProviderPackage, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' does not have an implementation.</errorinfo>
</entry>
<entry>
<record>302</record>
<time>2013/04/23 18:32:54.012</time>
<type>Error</type>
<source>VisualStudio</source>
<description>End package load [ProviderPackage]</description>
<guid>{5F2E5E42-4192-4D79-A0D8-1D881E808829}</guid>
<hr>80131522</hr>
<errorinfo>Method 'GetHostedIntellisenseTypes' in type 'Microsoft.VisualStudio.Progression.DTEWrapperCached' from assembly 'Microsoft.VisualStudio.GraphProviderPackage, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' does not have an implementation.</errorinfo>
Google 搜索未显示与我的问题完全匹配的内容.我尝试在安装 ISO 上搜索软件包,但找不到需要修复的软件包...
Google searches do not reveal an exact match on my issue. I've tried searching the packages on the install ISO and cannot locate a package that needs to be repaired...
F:\packages>dir /s *provider*
Volume in drive F is VS2012_ULT_MSDN_ENU
Volume Serial Number is 4A21-C8BD
Directory of F:\packages\SSDT
07/26/2012 11:30 AM 780,288 DbSqlPackageProvider.msi
1 File(s) 780,288 bytes
Total Files Listed:
1 File(s) 780,288 bytes
0 Dir(s) 0 bytes free
还有其他想法吗?
推荐答案
这是 Aaron (Aaron Reed) 上面的回答,只是复制作为答案而不是问题的一部分:
已修复... 已修复... 已修复...
Fixed it... Fixed it... Fixed it...
- 打开的程序和功能(运行:appwiz.cpl)
- 已安装应用的排序列表:安装日期
- 通过向右上角的搜索过滤器添加SQL"来过滤列表
- 列表项
我在 13 年 4 月 1 日安装了 VS2012,所以我浏览了列表中列出的每个 SQL 项,然后右键单击 --> 修复
I installed VS2012 on 4/1/13, so I went through each listed SQL item in the list, and right click --> Repair
从那里我运行了 VS2012 并打开了目标解决方案文件,没有问题.
From there I ran VS2012 and opened the target Solution file without issue.
我的清单:
- Microsoft SQL Server 2012 数据层应用框架
- Microsoft SQL Server 数据工具 - zh (11.1.20627.00)
- Microsoft SQL Server 2012 管理对象 (x64)
- 适用于 SQL Server 2012 (x64) 的 Microsoft 系统 CLR 类型
- 适用于 SQL Server 2012 的 Microsoft 系统 CLR 类型
- Microsoft SQL Server 2012 管理对象
- Microsoft SQL Server 2012 Transact-SQL 编译器服务
- Microsoft SQL Server 2012 命令行实用程序
- Microsoft SQL Server 数据工具构建实用程序 - zh (11.1.206...
- Microsoft SQL Server Compact 4.0 SP1 x64 ENU
- Microsoft SQL Server 2012 T-SQL 语言服务
- Microsoft SQL Server 2012 本机客户端
- Microsoft SQL Server 2012 数据层应用框架
- Microsoft SQL Server 2012 Express LocalDB
- Microsoft SQL Server 2012 Transact-SQL SpriptDom
这篇关于'ProviderPackage' 包未正确加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!