Share via


ApplicationPackageReference.Version Property

Definition

Gets or sets the version of the application to deploy. If omitted, the default version is deployed.

[Newtonsoft.Json.JsonProperty(PropertyName="version")]
public string Version { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="version")>]
member this.Version : string with get, set
Public Property Version As String

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

If this is omitted on a Pool, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences and HTTP status code 409. If this is omitted on a Task, and no default version is specified for this application, the Task fails with a pre-processing error.

Applies to