Reputation: 95
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..
Upvotes: 3
Views: 3450
Reputation: 30362
You can get the location from Hosted Agent Capabilities
.
https://dev.azure.com/{organization}/_settings/agentpools
Hosted VS2017
in your scenario)Capabilities
tabFor example, below is the MSBuild location in the Hosted VS2017 agent:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\
Upvotes: 4