【发布时间】:2016-12-23 13:21:33
【问题描述】:
我正在运行 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 'VisualStudio.12;Environment.General' exists on the server. Given version '0' while existing version is '2373'. (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 'VisualStudio.12;Environment.Startup' exists on the server. Given version '0' while existing version is '2374'. (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: 'john@doe.com' (ActvityId: 'b5c38855-50e7-40c8-804c-f164a010b1a7') from 'C:\Users\ismithers\AppData\Local\Microsoft\VisualStudio\12.0\Licenses\1_kdatcfot.crtok'</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 中。
热切期待您的回复和帮助,非常感谢。
【问题讨论】:
-
要添加一些额外的 cmets,我尝试了 /Resetsettings、/ResetSkipPkgs 和 /Safemode,所有这些都没有解决问题 - 这些是 MSDN 代表建议的。
-
我实际上确实尝试了 Jon Crowell 回答中的步骤,但它并没有为我解决。话虽如此,我会建议其他人作为第一步。
标签: azure visual-studio-2013 packages