TFS assembly definition and relative workspace path

Assuming this folder structure in TFS 2010

Main
    Collection_A
        Solution_A1
        Solution_A2
        Reference Assemblies
    Collection_B
        Solution_B1
            Project_B1A

Project_B1Arefers to the dll in Reference Assembliesof Collection_Ausing the relative path ( ..\..\..\Collection_A\Reference Assemblies\Whatever.dll). When defining an assembly definition in TFS, we have problems on the Workflow tab.

Project_B1A => $(SourceDir)

for reference assemblies should be

Reference Assemblies => $(SourceDir)\..\..\..\Collection_A\Reference Assemblies

but then TFS throws an error

TF215083: The local path $(SourceDir)\..\..\Collection_A\Reference Assemblies for a 
workspace mapping is not valid. (Detail Message: TF10202: The path '..' ends with a 
character which is not allowed. Characters which are not allowed include '.' and ' '.)

We tried $(SourceDir)\Collection_A\Reference Assembliesand $(BuildDir)\Collection_A\Reference Assemblies, but, as expected, no one worked. Is there another variable that can be used?

+5
source share
1 answer

As the error message indicates, I don't think that using a relative path is allowed when defining working folder mappings.

, ( Main). , $(SourceDir) Main. Main ( Main/*). , Main . Main .

:

$/Main/* -> $(SourceDir)
$/Main/Collection_A/Reference Assemblies -> $(SourceDir)\Collection_A\Reference Assemblies
$/Main/Collection_B/Solution_B1/Project_B1A -> $(SourceDir)Collection_B\Solution_B1\Project_B1A

, , , , , , , , .

, .

+7

All Articles