XamarinLicense@1 - Xamarin License v1 task
XamarinLicense@1 is deprecated because you no longer need a Xamarin license to build your Xamarin app. You can now use the free version of Xamarin.
This task was originally used in a build or release pipeline to activate or deactivate Xamarin licenses.
Note
This task is deprecated and was retired May 1, 2024.
Syntax
# Xamarin License v1
# [Deprecated] Upgrade to free version of Xamarin: https://store.xamarin.com.
- task: XamarinLicense@1
inputs:
action: 'Activate' # 'Activate' | 'Deactivate'. Required. Action. Default: Activate.
email: # string. Required. Email.
password: # string. Required. Password.
product: 'MA' # 'MA' | 'MT' | 'MM'. Required. Xamarin Product. Default: MA.
# Advanced
#timeout: '30' # string. Timeout in Seconds. Default: 30.
Inputs
action
- Action
string
. Required. Allowed values: Activate
, Deactivate
. Default value: Activate
.
Specifies activate
for the first instance of this build task before any instances of the Xamarin.Android
or Xamarin.iOS
tasks. Specifies deactivate
for the second instance of this build task after all instances of the Xamarin.Android
and Xamarin.iOS
tasks. You should also select Always run
under Control options
for the last instance of the Xamarin license task.
email
- Email
string
. Required.
Specifies the Xamarin account email address.
password
- Password
string
. Required.
Specifies the Xamarin account password. Use a secret variable with its lock enabled on the variables tab to encrypt this value.
product
- Xamarin Product
string
. Required. Allowed values: MA
(Xamarin.Android), MT
(Xamarin.iOS), MM
(Xamarin.Mac). Default value: MA
.
Specifies the Xamarin product name.
timeout
- Timeout in Seconds
string
. Default value: 30
.
Specifies how long you want to allow the build task to wait for the activation or deactivation.
Task control options
All tasks have control options in addition to their task inputs. For more information, see Control options and common task properties.
Output variables
None.
Remarks
This task is deprecated because you no longer need a Xamarin license to build your Xamarin app. Use the free version of Xamarin from https://store.xamarin.com.
Requirements
Requirement | Description |
---|---|
Pipeline types | YAML, Classic build |
Runs on | Agent, DeploymentGroup |
Demands | None |
Capabilities | This task does not satisfy any demands for subsequent tasks in the job. |
Command restrictions | Any |
Settable variables | Any |
Agent version | 1.83.0 or greater |
Task category | Utility |