what's the path of msbuild in vsts

你。 提交于 2019-12-11 10:37:10

问题


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..


回答1:


You can get the location from Hosted Agent 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

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\ 



来源:https://stackoverflow.com/questions/52810150/whats-the-path-of-msbuild-in-vsts

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!