ApplicationPackageReference.Version Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.