Azure 相关错误 - VS 2013 专业版 - "CctProjectPackage"包未正确加载



我正在运行Visual Studio Professional 2013,以使用Azure 2.4创建Azure云网站。

几个月来,它一直运行良好,没有出现问题,然后突然在我的家用机器上,我出现了上述错误,我所有现有解决方案中的所有Azure云服务项目都被列为与我的软件版本不兼容。如果我尝试创建一个新的Azure云服务项目,它就会彻底失败。

<entry>
<record>641</record>
<time>2015/02/14 09:56:30.100</time>
<type>Warning</type>
<source>UserConnection</source>
<description>Newer version of resource during SetAttribute: VSS011053: A different version of resource &apos;VisualStudio.12;Environment.General&apos; exists on the server. Given version &apos;0&apos; while existing version is &apos;2373&apos;. (ActivityId: a432dc90-386f-4215-85d3-ad0f89dd8bd0)</description>
</entry>
<entry>
<record>642</record>
<time>2015/02/14 09:56:30.991</time>
<type>Warning</type>
<source>UserConnection</source>
<description>Newer version of resource during SetAttribute: VSS011053: A different version of resource &apos;VisualStudio.12;Environment.Startup&apos; exists on the server. Given version &apos;0&apos; while existing version is &apos;2374&apos;. (ActivityId: 27589d22-4ba2-416c-8950-f6998dc49a3c)</description>
</entry>
<entry>
<record>643</record>
<time>2015/02/14 09:56:34.756</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Entering function CVsPackageInfo::HrInstantiatePackage</description>
<guid>{E269B994-EF71-4CE0-8BCD-581C217372E8}</guid>
</entry>
<entry>
<record>644</record>
<time>2015/02/14 09:56:34.756</time>
<type>Warning</type>
<source>VisualStudio</source>
<description>Unexpected system error mode before loading package [Microsoft.VisualStudio.Editor.Implementation.EditorPackage]</description>
<guid>{E269B994-EF71-4CE0-8BCD-581C217372E8}</guid>
</entry>
<entry>
<record>645</record>
<time>2015/02/14 09:56:34.756</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Begin package load [Microsoft.VisualStudio.Editor.Implementation.EditorPackage]</description>
<guid>{E269B994-EF71-4CE0-8BCD-581C217372E8}</guid>
</entry>
<entry>
<record>646</record>
<time>2015/02/14 09:56:34.802</time>
<type>Information</type>
<source>VisualStudio</source>
<description>End package load [Microsoft.VisualStudio.Editor.Implementation.EditorPackage]</description>
<guid>{E269B994-EF71-4CE0-8BCD-581C217372E8}</guid>
</entry>
<entry>
<record>647</record>
<time>2015/02/14 10:56:16.398</time>
<type>Information</type>
<source>ClientRights</source>
<description>Read client rights token for IdeUser User: &apos;john@doe.com&apos; (ActvityId: &apos;b5c38855-50e7-40c8-804c-f164a010b1a7&apos;) from &apos;C:UsersismithersAppDataLocalMicrosoftVisualStudio12.0Licenses1_kdatcfot.crtok&apos;</description>
</entry>
<entry>
<record>648</record>
<time>2015/02/14 11:32:03.632</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Entering function CVsPackageInfo::HrInstantiatePackage</description>
<guid>{3CF1DF15-44F2-4467-AB0E-1F90BA69A3E0}</guid>
</entry>
<entry>
<record>649</record>
<time>2015/02/14 11:32:03.632</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Begin package load [CctProjectPackage]</description>
<guid>{3CF1DF15-44F2-4467-AB0E-1F90BA69A3E0}</guid>
</entry>
<entry>
<record>650</record>
<time>2015/02/14 11:32:03.632</time>
<type>Error</type>
<source>VisualStudio</source>
<description>CreateInstance failed for package [CctProjectPackage]</description>
<guid>{3CF1DF15-44F2-4467-AB0E-1F90BA69A3E0}</guid>
<hr>80131604</hr>
<errorinfo>Exception has been thrown by the target of an invocation.</errorinfo>
</entry>
<entry>
<record>651</record>
<time>2015/02/14 11:32:03.632</time>
<type>Error</type>
<source>VisualStudio</source>
<description>End package load [CctProjectPackage]</description>
<guid>{3CF1DF15-44F2-4467-AB0E-1F90BA69A3E0}</guid>
<hr>80004005 - E_FAIL</hr>
<errorinfo>Exception has been thrown by the target of an invocation.</errorinfo>
</entry>

Visual Studio->帮助菜单->关于-显示此错误窗口:

"未正确加载'CctProjectPackage'包。"

文件->新建->项目->Azure云服务->确定->确定->显示一个带有消息的窗口:

"无法打开'C:\etc\etc..\AzureProject.ccproj',因为此版本的应用程序不支持其项目类型(.ccproj)。"

我试过:

A full uninstall of Visual Studio 2013 Professional. Then reinstalled.
Removed all optional packages and reinstalled.
Repaired Visual Studio 2013 Professional and Azure Tools 2.4.
Tried various command line commands such as reinstalling the templates, manually registering the AzureDiagnostics.dll and resetting Visual Studio 2013 Professional.
Cleaned registry.
Installed to a new directory.

有一件事让我很惊讶,那就是当我安装了不同版本的Visual Studio 2013(例如Web Express版本)时。每个人都工作了。但是,不是在我的Visual Studio 2013专业版中。

热切期待您的回复和帮助,非常感谢。

在windows 10更新后,我也遇到了同样的问题。我能够通过以下步骤修复它:

  1. 关闭Visual Studio
  2. 打开Users\AppData\Local\Microsoft\VisualStudio\12.0\文件夹
  3. 重命名ComponentModelCache文件夹
  4. 重新启动Visual Studio

希望它能帮助…:)

所以我通过重新安装Windows 8解决了这个问题。

这是一个合法的解决方案,就像买一辆新车来修复坏掉的空调一样。但最终,继续解决这个问题的时间太长了。

这也可以通过修复Windows Azure Tools for Visual Studio的安装来解决。

转到控制面板>程序和功能(appwiz.cpl)

从已安装程序列表中选择Windows Azure Tools for Visual Studio,然后单击"更改和修复"。如果完成,则重新启动(如果出现提示),问题应该消失。

相关内容

  • 没有找到相关文章

最新更新