gpt4 book ai didi

Azure 相关错误 - VS 2013 Professional - 'CctProjectPackage' 包未正确加载

转载 作者:行者123 更新时间:2023-12-04 11:04:59 25 4
gpt4 key购买 nike

我正在运行 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;<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="43292c2b2d03272c266d202c2e" rel="noreferrer noopener nofollow">[email protected]</a>&apos; (ActvityId: &apos;b5c38855-50e7-40c8-804c-f164a010b1a7&apos;) from &apos;C:\Users\ismithers\AppData\Local\Microsoft\VisualStudio\12.0\Licenses\1_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 Professional 中却没有。

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

最佳答案

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

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

希望它有帮助...:)

关于Azure 相关错误 - VS 2013 Professional - 'CctProjectPackage' 包未正确加载,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28524009/

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