请求值';VS2015';没有找到Azure powershell
我正在尝试通过azure powershell获取插槽信息 检索我使用的信息请求值';VS2015';没有找到Azure powershell,powershell,azure,deployment,visual-studio-2015,azure-deployment-slots,Powershell,Azure,Deployment,Visual Studio 2015,Azure Deployment Slots,我正在尝试通过azure powershell获取插槽信息 检索我使用的信息 Get-AzureWebsite -Name mywebsite -Slot staging 但是azure powershell抛出以下错误: Get-AzureWebsite : Requested value 'VS2015' was not found. At line:1 char:1 + Get-AzureWebsite -Name mywebsite -Slot staging + ~~~~~~~~~~
Get-AzureWebsite -Name mywebsite -Slot staging
但是azure powershell抛出以下错误:
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
时,它完美地显示了包括插槽名称在内的数据
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’。我遇到了此问题,作者建议删除远程调试器,,但运气不好,我仍然会遇到此错误。我的解决方案是:
PS2。如果仍然存在相同的问题,请尝试恢复原始值(“VS2015”),并在步骤3和步骤4之间重复“保存配置”步骤。Yep,这似乎仍然是一个问题。今天,它打破了我的VSTS构建,真是太烦人了。