0
votes

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

1

1 Answers

1
votes

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