我安装了Visual Studio 2012,并在以后的日期更新2.安装Update 2后,当我加载任何项目时,我收到以下错误:
---------------------------
Microsoft Visual Studio
-------------------- -------
'ProviderPackage'包没有正确加载.问题可能是由配置更改或安装另一个扩展引起的.您可以通过检查文件'C:\ Users\username\AppData\Roaming\Microsoft\VisualStudio\11.0\ActivityLog.xml'来获取更多信息.
继续显示此错误消息?
---------------------------
是否
--------------- ------
找到后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' …Run Code Online (Sandbox Code Playgroud) 所以,我一直有这个问题.通常,当我尝试打开任何项目时,我会收到以下错误:
---------------------------
Microsoft Visual Studio
---------------------------
The 'Visual C++ Project System Package' 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\Q009\AppData\Roaming\Microsoft\VisualStudio\14.0\ActivityLog.xml'.
Restarting Visual Studio could help resolve this issue.
Continue to show this error message?
Run Code Online (Sandbox Code Playgroud)
打开活动日志会显示以下错误:
SetSite failed for package [Visual C++ Project System Package][Object reference not set to an instance of an object.]:{ at Microsoft.VisualStudio.Project.VisualC.VCProjectEngine.VCProjectEngineShim.get_ProjectService() at …Run Code Online (Sandbox Code Playgroud) 我已经从VS本身为VS.NET 2013安装了Python包.之后我无法打开任何C++项目.我收到此错误信息:
全文:
不支持
此版本的Visual Studio无法打开以下projects.vcxproj可能未安装项目类型或此版本的Visual Studio可能不支持它们.有关启用这些项目类型或以其他方式迁移资产的详细信息,请在单击"确定"后显示"迁移报告"中的详细信息.
- PROJECT_NAME, "C:\xx\xx\xx\xx\xx\PROJECT_NAME.vcxproj"
Run Code Online (Sandbox Code Playgroud)
需要进行非功能性更改
Visual Studio将自动对以下项目进行非功能性更改,以使它们能够在Visual Studio 2013,Visual Studio 2012和Visual Studio 2010 SP1中打开.项目行为不会受到影响. - ImageRegistrationEngine,"C:\ xx\xx\xx\xx\PROJECT_NAME.sln"
编辑:
该项目是使用完全相同的VS.NET版本在同一台机器上创建的.
顺便说一下,我仍然可以打开C#项目但不能打开C++项目.