我正在运行Visual Studio Professional 2013以使用Azure 2.4创建Azure云网站。
这几个月一直运行良好没有问题,然后突然在我的家用机器上,我收到上述错误,我所有现有解决方案中的所有Azure Cloud Service项目都被列为与我的版本不兼容软件。如果我尝试创建一个新的Azure Cloud Service项目,它就完全失败了。
<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 - &gt;帮助菜单 - &gt;关于 - 显示此错误窗口:
&#34; CctProjectPackage&#39;包没有正确加载。&#34;
档案 - &gt;新 - &gt;项目 - &gt; Azure云服务 - &gt;好的 - &gt;好的 - &gt;显示一个包含消息的窗口:
&#34;&#39; C:\等\等... \ AzureProject.ccproj&#39;无法打开,因为此版本的应用程序不支持其项目类型(.ccproj)。&#34;
我试过了:
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专业版中。
热切期待你的回复和帮助,非常感谢。
答案 0 :(得分:8)
Windows 10更新后我遇到了同样的问题。 我能够通过以下步骤解决它:
希望它有帮助...:)
答案 1 :(得分:1)
所以我通过重新安装Windows 8解决了这个问题。
这就是解决这个问题的合法解决方案,因为通过购买新车来修复破损的空调,是。但最终继续排除故障的时间过长了。
答案 2 :(得分:1)
这也可以通过修复Windows Azure Tools for Visual Studio的安装来解决。
转到“控制面板”&gt;程序和功能(appwiz.cpl)
从已安装程序列表中选择适用于Visual Studio的Windows Azure工具,单击“更改和修复”。如果完成,重新启动(如果提示)并且问题应该消失。