Requested value 'VS2015' was not found. - Azure powershell

可紊 提交于 2019-12-04 06:14:51

The solution for me was to:

  1. switch remote debugging ON
  2. select VS2013
  3. Save
  4. Switch remote debugging OFF again
  5. Save

I think it is some kind of bug in Azure.

There is an Azure Powershell bug linked with Remote Debugging which cases error message:

Get-AzureWebsite : Requested value 'VS2015' was not found.

Workaround is as follows:

Prerequisites: Navigate to Azure Portal, select the Web App (or Web Site) with which you have a problem. Open "Application Settings" panel.

  1. Set "Remote debugging" to "On"
  2. Set "Remote Visual Studio version" to "2013"
  3. Set "Remote debugging" to "Off"
  4. Save configuration

PS. There is a similar answer here, but not precise enough.

PS2. If there's still the same problem try restoring original value ("VS2015") and repeat the steps with "Saving configuration" between steps 3 and 4.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!