未安装发布所需的网络发布扩展

编程入门 行业动态 更新时间:2024-10-14 20:23:57
本文介绍了未安装发布所需的网络发布扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图通过以下链接按照教程将 ASP.NET Web 应用程序部署到 Windows Azure 网站:https://www.windowsazure/en-us/develop/net/tutorials/get-started/下载公共配置文件后,它是一个.PublishSettings"文件,我返回到 Visual Studio 并在解决方案资源管理器中右键单击该项目,然后从上下文菜单中选择发布,如教程所述.但是,跳出一个警告框,它向我显示未安装发布所需的 Web 发布扩展.您可以从 http://go.microsoft/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/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/fwlink/?LinkID=208120."

我已经安装了Windows Azure SDK for .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.

有人知道怎么解决吗?我真的很感激.

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

推荐答案

我遇到了 2 个相关的问题.一是未安装发布所需的网络发布扩展,二是未加载网络扩展包.

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.

我正在为遇到此问题的其他人投票并重新发布 user3918092 的解决方案,并执行以下所有操作:

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


中删除ComponentModelCacheC:Users...AppDataLocalMicrosoftVisualStudio12.0
C:Users...AppDataRoamingMicrosoftVisualStudio12.0修复 Azure SDK 2.4 和 VS2013U3 卸载和重新安装Azure SDK 2.4 和 VS2013U3 从解决方案中删除扩展忽略 VS 启动时的扩展使用 devenv/setup 和 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.0Common7IDEExtensionsMicrosoftWeb ToolsPublishMicrosoft.VisualStudio.Web.Publish.dll"  
gacutil -i "C:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEExtensionsMicrosoftWeb ToolsPublishMicrosoft.VisualStudio.Web.Internal.Contracts.dll"

感谢用户 3918092!

Thanks to user3918092!

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

更多推荐

[db:关键词]

本文发布于:2023-03-31 03:01:48,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/794967.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:所需   网络

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!