在没有互联网访问权限的情况下配置 TFS 2018 构建代理

Configure TFS 2018 build agent with no internet access

我配置了 TFS 2018 [本地] 代理池并安排了构建。用过"Service fabric build template"。构建失败,出现以下错误

No agent found in pool Default which satisfies the specified demands: msbuild visualstudio Cmd Agent.Version -gtVersion 2.115.0

无法删除这些要求,因为您在构建中使用的任务依赖于它们。任务可以(并且确实)表达必须由智能体的 "Capabilities" 满足的 "Demands"。

安装 Visual Studio 并重新启动构建代理应该可以满足要求。