如何在 VSTS 上使用 Mono 的 XBUILD?
How to use Mono's XBUILD on VSTS?
如何在 VSTS 上使用 Mono 的 XBUILD?
我检查了托管代理功能,但没有看到它。
You may find your agent capabilities at https://???.visualstudio.com/_admin/_AgentPool?poolId=2&_a=agents
and click to Capabilities
(make sure you change the ??? part with yours)
Mono 在 VSTS 托管代理中不可用。您可以投票this个用户心声
解决方法是,您可以在计算机上设置 new build agent。
- 转到代理池控制面板选项卡(在团队的管理页面中 project/team
- 点击下载代理
- 点击Windows
- 点击下载按钮
- 运行 命令提示符并转到该代理位置
- 运行.\config.cmd
您可以将mono添加到环境变量中,以便直接运行 mono命令。
- 打开环境变量window(系统属性=>高级=>环境变量)
- 点击新建添加系统变量(mono:[mono安装路径,例如C:\Program\Mono]
- Select 系统变量列表中的路径=>编辑
- 添加 ;%mono%\bin
之后,您可以将命令行 step/task 添加到您的构建定义中以调用单声道命令。例如:工具:mono,参数:--version
如何在 VSTS 上使用 Mono 的 XBUILD?
我检查了托管代理功能,但没有看到它。
You may find your agent capabilities at https://???.visualstudio.com/_admin/_AgentPool?poolId=2&_a=agents and click to Capabilities
(make sure you change the ??? part with yours)
Mono 在 VSTS 托管代理中不可用。您可以投票this个用户心声
解决方法是,您可以在计算机上设置 new build agent。
- 转到代理池控制面板选项卡(在团队的管理页面中 project/team
- 点击下载代理
- 点击Windows
- 点击下载按钮
- 运行 命令提示符并转到该代理位置
- 运行.\config.cmd
您可以将mono添加到环境变量中,以便直接运行 mono命令。
- 打开环境变量window(系统属性=>高级=>环境变量)
- 点击新建添加系统变量(mono:[mono安装路径,例如C:\Program\Mono]
- Select 系统变量列表中的路径=>编辑
- 添加 ;%mono%\bin 之后,您可以将命令行 step/task 添加到您的构建定义中以调用单声道命令。例如:工具:mono,参数:--version