【Azure Cloud Service】VS 2019 发布云服务报错,有什么其它办法发布呢?

问题描述

VS 2019 /VS 2022 直接发布云服务(外延) 报错,登录Azure账号后,加载资源信息时候报错 “An error occurred while loading location resource. 加载位置时候出错”。

 有什么其它方式来发布云服务吗?

 

问题解答

除了使用Visual Studio 2019/2022 等IDE直接部署的方式外,云服务也可以通过门户,PowerShell,或者ARM等多种方式部署:

  1. 在 Visual Studio 中创建并部署到云服务(外延支持):https://learn.microsoft.com/zh-cn/visualstudio/azure/cloud-services-extended-support?view=vs-2022&context=%2Fazure%2Fcloud-services-extended-support%2Fcontext%2Fcontext#publish-to-cloud-services-extended-support 
  2. 使用 Azure 门户部署 Azure 云服务(外延支持):https://learn.microsoft.com/zh-cn/azure/cloud-services-extended-support/deploy-portal?view=vs-2022#deploy-a-cloud-services-extended-support
  3. 使用 Azure PowerShell 部署云服务(外延支持):https://learn.microsoft.com/zh-cn/azure/cloud-services-extended-support/deploy-powershell?view=vs-2022#deploy-a-cloud-services-extended-support

 

而VS 2019无法发布云服务到中国区Azure中,这是一个Bug。经过确认,这个问题会在VS 2022 17.10版本中修复。

Visual Studio 2022 Preview Release Notes : https://learn.microsoft.com/en-us/visualstudio/releases/2022/release-notes-preview#visual-studio-2022-version-1710-preview-releases

 

 

posted @   路边两盏灯  阅读(12)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
历史上的今天:
2022-03-28 【Azure 应用服务】在创建Web App Service的时候,选Linux系统后无法使用Mysql in App
点击右上角即可分享
微信分享提示