vsts中的msbuild的路径是什么 [英] what's the path of msbuild in vsts

查看:98
本文介绍了vsts中的msbuild的路径是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

asp.net Web表单项目需要迁移到vsts.该项目使用python脚本进行构建和发布.在代码中,它将调用msbuild.exe.但是,我很困惑如何在vsts中引用msbuild位置,以重新分配python文件中的先前位置.

asp.net web form project needs to be migrated to vsts. The project uses python script to build and publish. In the code it calls the msbuild.exe. However, I am confused how to refer msbuild location in vsts repalcing previous location in python file..

推荐答案

您可以从Hosted Agent Capabilities获取位置.

You can get the location from Hosted Agent Capabilities.

  1. 导航到 https://dev.azure.com/{organization}/_settings/agentpools
  2. 选择特定的池和代理(在您的方案中为Hosted VS2017)
  3. 切换到Capabilities标签
  1. Navigate to https://dev.azure.com/{organization}/_settings/agentpools
  2. Select the specific Pool and Agent(Hosted VS2017 in your scenario)
  3. Switch to Capabilities tab

例如,以下是托管VS2017代理中的MSBuild位置:

For example, below is the MSBuild location in the Hosted VS2017 agent:

C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\ 

这篇关于vsts中的msbuild的路径是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆