• 首页 首页 icon
  • 工具库 工具库 icon
    • IP查询 IP查询 icon
  • 内容库 内容库 icon
    • 快讯库 快讯库 icon
    • 精品库 精品库 icon
    • 问答库 问答库 icon
  • 更多 更多 icon
    • 服务条款 服务条款 icon

请求值“VS2015”没有被发现。 - 天青的PowerShell

用户头像
it1352
帮助1

问题说明

我试图打通蔚蓝的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 谷歌 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.

正确答案

#1

我的解决方案是:

    1. 切换远程调试ON
    1. 选择VS2013
    1. 保存
    1. 切换远程调试再次关闭
    1. 保存

我觉得是Azure的某种错误的。

I think it is some kind of bug in Azure.

这篇好文章是转载于:学新通技术网

  • 版权申明: 本站部分内容来自互联网,仅供学习及演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,请提供相关证据及您的身份证明,我们将在收到邮件后48小时内删除。
  • 本站站名: 学新通技术网
  • 本文地址: /reply/detail/tanhbeabca
系列文章
更多 icon
同类精品
更多 icon
继续加载