doorman
doorman

Reputation: 16949

TFS build error path incorrect

I have the following TFS structure:

FolderA --> FolderB --> FolderC

In the build definition the Solution is set to FolderB/FolderC/MySolution.sln Under get sources the Workspace is mapped to $/FolderA

When I build I get an error because the path is missing FolderA.

C:\agent_work\2\s\FolderB\FolderC\MySolution.sln

Upvotes: 0

Views: 178

Answers (1)

D.J.
D.J.

Reputation: 4034

..\s is the root -level of your mapping (in this case $/FolderA = ..\s). If you need the path to be ..\s\FolderA (why ?) go to your build -> "Get sources" -> "workspace mappings" and configure the field "Local path under $(build.sourcesdirectory)" with "FolderA"

Upvotes: 1

Related Questions