Del via


Xamarin License task

TFS 2017 | TFS 2015

This task is used in a build or release pipeline to activate or deactivate Xamarin licenses.

Deprecated

Note

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.

Demands

None

Arguments

Argument Description
Action Select:

Activate for the first instance of this build task, which should come before any instances of the Xamarin.Android or Xamarin.iOS tasks.

Deactivate for the second instance of this build task, which should come 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 Xamarin account email address.
Password Xamarin account password.

Use a secret variable to avoid exposing this value.
Xamarin Product Select the build task that you're running in this build pipeline, such as Xamarin.Android or Xamarin.iOS.
Advanced - Timeout in Seconds Specify how long you want to allow the build task to wait for the activation or deactivation.
Control options

Example

Build your Xamarin app

Open source

This task is open source on GitHub. Feedback and contributions are welcome.

FAQ

Do I need an agent?

You need at least one agent to run your build or release.

I'm having problems. How can I troubleshoot them?

See Troubleshoot Build and Release.

I can't select a default agent pool and I can't queue my build or release. How do I fix this?

See Agent pools.

My NuGet push task is failing with the following error: "Error: unable to get local issuer certificate". How can I fix this?

This can be fixed by adding a trusted root certificate. You can either add the NODE_EXTRA_CA_CERTS=file environment variable to your build agent, or you can add the NODE.EXTRA.CA.CERTS=file task variable in your pipeline. See Node.js documentation for more details about this variable. See Set variables in a pipeline for instructions on setting a variable in your pipeline.

I use TFS on-premises and I don't see some of these features. Why not?

Some of these features are available only on Azure Pipelines and not yet available on-premises. Some features are available on-premises if you have upgraded to the latest version of TFS.