什么是 azure SDK 工具链 2.9 的 schemaVersion

What is schemaVersion for azure SDK toolchain 2.9

我在使用 msbuild 时遇到以下错误。我有 Microsoft Azure 工具 2.9 版,已升级。

c:\...\ServiceDefinition.csdef(2,123): error CloudServices051: The XML specification is not valid: The 'schemaVersion' attribute is invalid - The value '2014-06.2.4' is invalid according to its datatype 'http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition:SchemaVersion' - The Enumeration constraint failed.

那么 2.9 的 schemaVersion 是什么?

Azure SDK 2.9 的架构版本是:

schemaVersion="2015-04.2.6"

您可以通过创建一个针对 Azure SDK 2.9 的新 Azure 云项目并查看 ServiceConfiguration.cscfg 文件来验证这一点。