gpt4 book ai didi

visual-studio-2012 - 'ProviderPackage' 包没有正确加载

转载 作者:行者123 更新时间:2023-12-03 05:21:12 24 4
gpt4 key购买 nike

我安装了 Visual Studio 2012 并在稍后安装了更新 2。安装更新 2 后,当我加载任何项目时,都会收到以下错误:

---------------------------
Microsoft Visual Studio
---------------------------
The 'ProviderPackage' package did not load correctly.

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 后,我看到以下一组错误:

<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 上搜索软件包,但找不到需要修复的软件包...

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

还有其他想法吗?

最佳答案

  • 关闭 Visual Studio。
  • 打开 Visual Studio 2012 的开发人员命令提示符(以管理员身份)。
  • 输入devenv/setup
  • 重新启动 Visual Studio。

可能与 Visual Studio 2012 error: Package 'Visual C++ package' failed to load 重复

参见 Visual C++ package: failed to load?????

关于visual-studio-2012 - 'ProviderPackage' 包没有正确加载,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16176933/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com