简体   繁体   English

Visual Studio发布以消除现有应用程序错误

[英]Visual Studio publish to azure existing apps error

Getting this error when I select a "publish target" in VS 2015 update 3. Had a look for a while online but didn't see anything, so any help would be appreciated if you could point me in the right direction. 当我在VS 2015更新3中选择“发布目标”时出现此错误。已经在线查看了一段时间,但没有看到任何内容,因此,如果您能向正确的方向指点,我们将不胜感激。

An error has occurred while processing the request: Method 'StopRemoteProfiler' in type 'Microsoft.VisualStudio.Web.WindowsAzure.AzureWebSite' from assembly 'Microsoft.VisualStudio.Web.WindowsAzure.Impl, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' does not have implementation

截图

I updated to the to Azure sdk 2.9.6 last night because of a different issue but related where there was no error, but no existing apps were listed. 由于其他问题,我昨晚已更新到Azure sdk 2.9.6,但与没有错误但未列出现有应用程序相关。

I can confirm that this works on my work computer and I have existing apps on Azure, but not working on my home computer. 我可以确认这在我的工作计算机上可以正常运行,并且我在Azure上已有现有的应用程序,但在我的家用计算机上却无法工作。

I am a bit loath to uninstall and reinstall VS, so any help would be appreciated. 我有点不愿卸载并重新安装VS,因此不胜感激。 Of course, if the only solution is to reset, then so be it. 当然,如果唯一的解决方案是重置,那就这样吧。

Thanks, Jarrod 谢谢,Jarrod

I faced the same problem. 我遇到了同样的问题。 This is what worked for me. 这对我有用。

I updated the "Microsoft .NET Core 1.0.1 - VS 2015 Tooling Preview 2" by going to Menu -> Tools -> Extensions and Updates -> Updates -> Visual Studio Gallery. 我通过转到菜单->工具->扩展和更新->更新-> Visual Studio库,更新了“ Microsoft .NET Core 1.0.1-VS 2015工具预览2”。 It shows all the available updates for your version of studio. 它显示了您Studio版本的所有可用更新。 Select the component to update. 选择要更新的组件。 It should download a file named "DotNetCore.1.0.1-VS2015Tools.Preview2.0.3.exe" or something similar. 它应该下载一个名为“ DotNetCore.1.0.1-VS2015Tools.Preview2.0.3.exe”的文件或类似的文件。 When you run this file, if you have the software already installed then select the repair option. 运行此文件时,如果已经安装了软件,则选择修复选项。 It will ask you to close any running instances of Visual Studio, also make sure you have internet connection. 它将要求您关闭任何正在运行的Visual Studio实例,并确保您具有Internet连接。

Also if you are using Web Deploy to publish your app make sure you have Microsoft Web Deploy v3 or higher installed or you will get error. 另外,如果您使用Web Deploy发布应用程序,请确保已安装Microsoft Web Deploy v3或更高版本,否则会出错。 You can do it using Microsoft Web Platform Installer. 您可以使用Microsoft Web Platform Installer来完成。

Hope it helps. 希望能帮助到你。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Visual Studio 2015否发布到Azure - Visual Studio 2015 No Publish To Azure 如何将Visual Studio Azure Functions项目(多个功能)发布到不同的Azure Function应用 - How to publish Visual Studio Azure Functions project (Multiple functions) to different Azure Function Apps 从Visual Studio发布到Azure时出现错误10054 - Error 10054 when publish to Azure from Visual Studio 发布时 Visual Studio 2019 Azure KeyVault 配置错误 - Visual Studio 2019 Azure KeyVault configuration error when publish 尝试从 Visual Studio 发布 azure function 时出错 - Error when trying to publish an azure function from Visual Studio 在Visual Studio 2015中的发布目标列表中找不到'Microsoft Azure Web Apps' - Cannot find 'Microsoft Azure Web Apps' in the list of publish targets in visual studio 2015 Azure 上的 Visual Studio 6.0 应用 - Visual Studio 6.0 apps on Azure 将Web应用程序部署到Azure Visual Studio 2017时出错 - Error deploy web apps to Azure visual studio 2017 将服务器项目从Visual Studio发布到Azure - Publish the server project from Visual Studio to Azure Visual Studio 2013将数据库发布到Azure - Visual Studio 2013 Publish Database to Azure
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM