此任务已弃用。 请改用“NuGet”。
注释
此任务已弃用,已于 2024 年 5 月 1 日停用。
语法
# Xamarin Component Restore v0
# This task is deprecated. Use 'NuGet' instead.
- task: XamarinComponentRestore@0
inputs:
solutionFile: '**/*.sln' # string. Alias: solution. Required. Path to solution. Default: **/*.sln.
email: # string. Required. Email.
password: # string. Required. Password.
输入
解决方案的 solutionFile
- 路径
输入别名:solution
。
string
。 必填。 默认值:**/*.sln
。
指定 Visual Studio 解决方案文件的路径。
email
-
电子邮件
string
。 必填。
指定 Xamarin 帐户电子邮件地址。
password
-
密码
string
。 必填。
指定 Xamarin 帐户密码。 使用在“变量”选项卡上启用锁定的新生成变量来加密此值。
任务控制选项
除任务输入之外,所有任务都具有控制选项。 有关详细信息,请参阅 控件选项和常见任务属性。
输出变量
没有。