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?
source
share