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

Azure相关错误-VS 2013 Professional-未正确加载“CctProjectPackage”包,azure,visual-studio-2013,packages,Azure,Visual Studio 2013,Packages,我正在运行Visual Studio Professional 2013,以使用Azure 2.4创建Azure云网站 这几个月来一直运行良好,没有任何问题,然后突然在我的家用计算机上,我得到了上述错误,我所有现有解决方案中的所有Azure云服务项目都被列为与我的软件版本不兼容。如果我尝试创建一个新的Azure云服务项目,它就会彻底失败 <entry> <record>641</record> <time>2015/02/14 09:56:30.1

我正在运行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:\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 2013的不同版本时,例如Web Express版本。每个人都在工作。但是,不是在我的Visual Studio 2013 Professional中


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

因此我通过重新安装Windows 8解决了这个问题


这是解决这个问题的合法方法,就像买一辆新车修理一个坏了的空调一样。但最终,继续解决这一问题是时间限制。

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

关闭Visual Studio 打开Users\AppData\Local\Microsoft\VisualStudio\12.0\文件夹 重命名ComponentModelCache文件夹 重新启动VisualStudio。
希望有帮助…:

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

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


从已安装程序列表中选择Windows Azure Tools for Visual Studio,单击“更改并修复”。if完成后,如果出现提示,请重新启动,问题应该会消失。

为了添加一些其他注释,我尝试了/Resetsettings、/ResetSkipPkgs和/Safemode,所有这些都没有解决问题-这些都是MSDN代表建议的。我确实尝试了Jon Crowell回答中的步骤,但没有为我解决问题。尽管如此,我还是建议其他人作为第一步。同样的问题,它是在更新到Azure SDK 2.6之后开始的。现在Azure节点在服务器资源管理器中不可用,我在打开VS About时也会收到相同的错误消息。几周前刚重新安装了我的电脑,我不想再麻烦了。我已经重新安装了SDK和VS。微软Azure团队中是否有人知道合适的解决方案?@ncu我曾尝试在Azure论坛和Visual Studio论坛上发布,在两个论坛都告诉我在另一个论坛上发布后,我只是认输了。如果你有任何进展,我很想知道实际的问题是什么。我认为cctProjectPackage警告的根本原因是分别安装Azure SDK和VS update 4。我终于在我的电脑上做了一个映像恢复,安装了Azure SDK 2.5,然后安装了VS update 4,警告消息又回来了。我卸载了Azure SDK,从MSDN下载并安装了VS_with_update4,消息消失了。但我仍然没有在服务器资源管理器中看到Azure下的存储节点,这是更新SDK的第一个原因。我还安装了VS2015,可能这也是问题的一部分,但我不能确定。@ncu我也安装了错误对话框不再出现的地方,但在检查ActivityLog.xml文件后,我发现包仍然无法加载。另外,如果我检查了Visual Studio->帮助->关于屏幕,我看不到列出的Azure工具。不要执行此步骤,因为这是不必要的,而是按照上面@Hugobral的答案中的步骤进行操作。@ncu您可以按照这些步骤进行操作吗?如果它解决了您的问题,我会将此标记为已接受的答案。将接受此作为答案,因为它远远优于“重新安装”。谢谢@hugobral:所以在Windows10更新之后,我又遇到了这种情况。我很快回到这篇文章,尝试了@hugobral发布的步骤,可以验证它们是否对我有效。我很想知道是什么促成了这个解决方案,因为我觉得它非常深奥。
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.