根据this SO,我更新了VS以更新2,但我仍然得到相同的错误。
选择Azure选项创建MVC + webapi项目。选择北欧并填充Azure详细信息。 选择创建数据库。
Azure从数据库创建所有资源。错误显示:
Creating Microsoft Azure Web App
Creation of Microsoft Azure Web App failed. Following errors occured during the deployment:
Error during deployment for resource 'xxxWebApiDb' in resource group 'xxxWebApiGroup': NoRegisteredProviderFound: No registered resource provider found for location 'North Europe' and API version '2.0' for type 'servers'. The supported api-versions are '2014-01-01, 2014-04-01, 2014-04-01-preview'. The supported locations are 'northeurope, eastus, westus, southcentralus, eastus2, centralus, northcentralus, eastasia, southeastasia, japanwest, japaneast, westeurope, brazilsouth, australiaeast, australiasoutheast, centralindia, westindia, southindia, canadacentral, canadaeast'..
如果我选择不创建数据库,则没有错误。我可以通过Azure门户单独创建SQL DB。
答案 0 :(得分:13)
正如评论中指出的bmoore-msft一样,更新Azure SDK可以解决此问题。
或转到以下链接here,下载&安装。
在今天尝试更新时(08/01/2017)我遇到了运行时错误 只需刷新页面几次,直到获得安装exe的下载弹出窗口。