Q:

Variables in TFS Mappings on Visual Studio Online Team Builds

I have created a VSO build using the new Team build system which uses TFS as the Repository.  I would like to introduce a variable into the Mappings -> Map value but when I do I get this error:
TF10122: The path '$/YourProject/${Build}' contains a '$' at the beginning of a path component. Remove the '$' and try again.

Is there a way to accomplish this or do I need to just hard code my Map path?

A:

Mappings on the Repository page are used to specify source control folder which contains projects that need to be built in the build definition. You can set it via clicking the Ellipsis (...) button, however, you can't include variables in the mapping path.

