StingyJack
StingyJack

Reputation: 19459

Team Build TF10122 error when using $(BuildAgentId)

I am trying to use the this Build Agent Folder for my build definition...

$(SystemDrive)\Builds\$(BuildAgentId)\VPB

... but I get the following error.

TF10122: The path 'c:\Builds\$(BuildAgentId)\VPB' contains a '$' at the beginning of a path component. Remove the '$' and try again.

I need to include something to denote the agent because I have two build agents on the build server.

I am trying to keep the path short, because InstallShield has unreasonably long path names for merge modules (too many subfolders and adds GUIDS to the ends of everything).

Any idea why this doesn't work?

Upvotes: 2

Views: 2096

Answers (1)

SoftwareCarpenter
SoftwareCarpenter

Reputation: 3923

Ensure that your Build Definition and Build Agent working directory are setup correctly.

Setting up build agent working directory and build definition working directories

Upvotes: 2

Related Questions