请求值“VS2015”没有被发现。 - 天青的PowerShell [英] Requested value 'VS2015' was not found. - Azure powershell
问题描述
我试图打通蔚蓝的PowerShell我插槽信息。
I am trying to get my slot info through azure powershell.
要找回我使用的信息
Get-AzureWebsite -Name mywebsite -Slot staging
但蔚蓝的PowerShell抛出下面的错误:
but azure powershell throws the below error:
Get-AzureWebsite : Requested value 'VS2015' was not found.
At line:1 char:1
+ Get-AzureWebsite -Name mywebsite -Slot staging
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [Get-AzureWebsite], ArgumentException
+ FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.Websites.GetAzureWebsiteCommand
当我只尝试与 GET-AzureWebsite -Name mywebsite
它完美地显示数据,包括插槽名称为
When i try only with Get-AzureWebsite -Name mywebsite
it perfectly shows data including slot names as
Name : mywebsite
State : Running
Host Names : {mywebsite.azurewebsites.net}
Name : mywebsite(staging)
State : Running
Host Names : {mywebsite-staging.azurewebsites.net}
Name : mywebsite(dev)
State : Running
Host Names : {mywebsite-dev.azurewebsites.net}
当我谷歌这个错误的请求值VS2015没有被发现。我碰到这个<一个href=\"http://www.brandonmartinez.com/2015/07/14/resolve-a-requested-value-vs2015-was-not-found-get-azurewebsite-error-in-powershell/\"相对=nofollow>链接和笔者认为,为删除远程调试器,但没有运气还是我得到的错误。
when i google this error "Requested value 'VS2015' was not found." i came across this link and this author suggests that to remove remote debugger but no luck still i'm getting the error.
推荐答案
我的解决方案是:
- 切换远程调试ON
- 选择VS2013
- 保存
- 切换远程调试再次关闭
- 保存
我觉得是Azure的某种错误的。
I think it is some kind of bug in Azure.
这篇关于请求值“VS2015”没有被发现。 - 天青的PowerShell的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!