Web发布扩展未安装这是需要发布 [英] The web publishing extension is not installed which is required to publish

查看:3703
本文介绍了Web发布扩展未安装这是需要发布的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我特林按照通过此链接教程来部署ASP.NET Web应用程序到Windows Azure的网站:<一href=\"https://www.windowsazure.com/en-us/develop/net/tutorials/get-started/\">https://www.windowsazure.com/en-us/develop/net/tutorials/get-started/
下载的公众形象,这是一个.PublishSettings文件后,我回去到Visual Studio,然后右键单击Solution Explorer中的项目并选择作为教程说,从上下文菜单中发布。然而,一个警告框跳起来这表明我说:Web发布扩展未安装这是需要进行发布。您可以从安装<一个href=\"http://go.microsoft.com/fwlink/?LinkID=208120\">http://go.microsoft.com/fwlink/?LinkID=208120.\"

I was tring to deploy an ASP.NET Web Application to a Windows Azure Web Site by following the tutorial through this link: https://www.windowsazure.com/en-us/develop/net/tutorials/get-started/ After download the public profile, which is a ".PublishSettings" file, I go back to Visual Studio and right-click the project in Solution Explorer and select Publish from the context menu as the tutorial said. However, a warning box jumped up and it showed me that "The Web Publishing extension is not installed which is required to publish. You can install it from http://go.microsoft.com/fwlink/?LinkID=208120."

我已经安装了Windows Azure的SDK为.NET(VS 2012),我也试图卸载此并重新安装,但同样的问题依然存在。

I already installed "Windows Azure SDK for .NET (VS 2012)" and I also tried to uninstall this and install again, but the same problem is still there.

任何人知道如何解决这个问题?我真的AP preciated。

Anyone knows how to solve this? I am really appreciated.

推荐答案

我碰到了2个问题,这是相关的。一个是Web发布扩展未安装这是需要发布,另一个是网络扩展包没有加载。

I ran into 2 issues, which were related. One was the web publishing extension is not installed which is required to publish, and the other was the web extension package did not load.

我upvoting和重新发布user3918092的解决方案,为别人谁遇到这个问题,并尽一切包括:

I'm upvoting and reposting user3918092's solution for others who run into this issue and do everything including:


  1. 删除ComponentModelCache出结果的
    C:\\用户\\ ... \\应用程序数据\\本地\\微软\\ VisualStudio的\\ 12.0 和结果
    C:\\用户\\ ... \\应用程序数据\\漫游\\微软\\ VisualStudio的\\ 12.0

  2. 修复的Azure SDK 2.4和VS2013U3卸载并重新安装
    两者的Azure SDK 2.4和VS2013U3

  3. 从溶​​液中取出扩展

  4. 无视VS启动扩展

  5. 使用devenv的/设置和devenv的/ updateconfiguration尝试重置配置

的解决方案是:

利用以管理员身份运行在VS命令行下面的命令重新安装以下项目的GAC:

Reinstall the following items to your GAC using the following commands from the vs command line run as an administrator:

gacutil -i "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\Microsoft\Web Tools\Publish\Microsoft.VisualStudio.Web.Publish.dll"  
gacutil -i "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\Microsoft\Web Tools\Publish\Microsoft.VisualStudio.Web.Internal.Contracts.dll"

感谢user3918092!

Thanks to user3918092!

这篇关于Web发布扩展未安装这是需要发布的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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