Allen
Allen

Reputation: 579

Display Project full path when build error occur on TFS2015 vNext Build

My TFS Server is TFS2015 Update2, I found VS build task only show project file name rather than prj full path. On my build definition there are lots of prjs in different directories, I have to download full build log to find where the prj is. Are there any config to control this out put info? Thanks.

This is what I have got now. Project File Name not full path

This is what I want to see. Correct FullPath

Upvotes: 1

Views: 182

Answers (2)

Allen
Allen

Reputation: 579

I found turn off this switch can display prj full path in build log:

enter image description here

Upvotes: 0

Cece Dong - MSFT
Cece Dong - MSFT

Reputation: 31003

There is no setting or config to change this. In TFS 2015.3, you can see which folder the projects locate in Timeline:

enter image description here

If you want to get the local path for a project, you can check where you mapped the local path in Repository. For example the full local path for WebApplication2.csproj is $(build.sourcesDirectory)\WebApplication2\WebApplication2\WebApplication2.csproj.

enter image description here

Upvotes: 0

Related Questions