Visual Studio 2013 更新 3 的问题 [英] Issues with Visual Studio 2013 Update 3

查看:23
本文介绍了Visual Studio 2013 更新 3 的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚安装了 VS 2013 Update 3,现在打开解决方案时出现错误:

I have just installed VS 2013 Update 3 and now I get errors when opening an solution:

The 'Microsoft.VisualStudio.Web.Publish.WebPublishPackage,MircosoftVisualStudio.Web.Publish' 
package did not load correctly. 

'ScaffoldungVSPackage' 包没有正确加载.

在活动日志中显示以下错误:

In the activity-log is shows following errors:

<entry>
<record>447</record>
<time>2014/08/05 14:27:31.859</time>
<type>Error</type>
<source>VisualStudio</source>
<description>End package load [Microsoft.VisualStudio.Web.Publish.WebPublishPackage, Microsoft.VisualStudio.Web.Publish]</description>
<guid>{1AD387FC-B1E8-4023-91FE-F22260B661DB}</guid>
<hr>80131522</hr>
<errorinfo>Could not load type 'Microsoft.VisualStudio.Web.Internal.Contracts.Publish.IVsWebJobPublishService' from assembly 'Microsoft.VisualStudio.Web.Internal.Contracts, Version=2.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.</errorinfo>
</entry>

<entry>
<record>450</record>
<time>2014/08/05 14:31:20.199</time>
<type>Error</type>
<source>VisualStudio</source>
<description>SetSite failed for package [ScaffoldingVsPackage]</description>
<guid>{FAA496BF-FB16-4671-B3D5-E4B388A18478}</guid>
<hr>80131500</hr>
<errorinfo>Cannot cast the underlying exported value of type 'Microsoft.AspNet.Scaffolding.Templating.ScaffoldingAssemblyDirectiveProcessor (ContractName="Microsoft.AspNet.Scaffolding.IServiceRegistrar")' to type 'Microsoft.AspNet.Scaffolding.IServiceRegistrar'.</errorinfo>
</entry>
<entry>
<record>451</record>
<time>2014/08/05 14:31:20.199</time>
<type>Error</type>
<source>VisualStudio</source>
<description>End package load [ScaffoldingVsPackage]</description>
<guid>{FAA496BF-FB16-4671-B3D5-E4B388A18478}</guid>
<hr>80131500</hr>
<errorinfo>Cannot cast the underlying exported value of type 'Microsoft.AspNet.Scaffolding.Templating.ScaffoldingAssemblyDirectiveProcessor (ContractName="Microsoft.AspNet.Scaffolding.IServiceRegistrar")' to type 'Microsoft.AspNet.Scaffolding.IServiceRegistrar'.</errorinfo>
</entry>

到目前为止尝试过:有谁知道如何解决这个问题?我已经试过了:

Tried So Far: Has anyone an idea how to resolve this issue? I already tried:

  • 重新安装 VS2013

  • Reinstalling VS2013

重新安装 WindowsAzureSDK V2.4

Reinstalling WindowsAzureSDK V2.4

禁用扩展

谢谢.

推荐答案

我遇到了同样的问题.我首先尝试修复 Visual Studio 的 Update 3 安装.我提到它是因为它可能有所帮助,我不确定.

I had the same problem. I first tried to repair Update 3 installation for Visual Studio. I'm mentioning it because it may have helped a bit, I'm not sure.

然后我打开了我的 Azure 解决方案.右键单击云项目并选择 Properties.在第一个选项卡 (Application) 中,有一条消息表明我的解决方案正在使用 Microsoft Azure 工具 2.3 版,我可以选择将其更改为 2.4 版.切换到较新版本后,我重新启动了 Visual Studio,它不再显示错误消息.

I then opened my Azure solution. Right clicked on the cloud project and selected Properties. In the first tab (Application) there was a message that my solution was using Microsoft Azure Tools version 2.3 and I had the option to change it to version 2.4. After I switched to newer version, I restarted Visual Studio and it didn't show me error message anymore.

我必须做的另一件事是将启动项目切换到 Cloud 项目,因为更新后它以某种方式更改为我的 MVC 项目.

One other thing I had to do is to switch the startup project to the Cloud project because after the update it somehow changed to my MVC project.

还有一件事 - Windows Azure SDK v2.4 删除了我所有的存储表,所以你可能会遇到同样的问题..

And one other thing - Windows Azure SDK v2.4 deleted all my storage tables so you'll probably have the same problem..

这篇关于Visual Studio 2013 更新 3 的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆