1
votes

Firstly I read through many existing threads and followed the instructions there

Here

Here

Here

Here

Here

Here

Almost all the above threads asked me to delete the cache file. I went into the machine and deleted the cache file. I even edited the cache file (XML file named version config) but still it gets overwritten

But still even after that I am seeing the same issue.

The build agent has got dynamic $SourceDir as value

What else can I do to fix this? Please Help.

I tried doing tf workspaces but it simply keeps saying that "Unable to determine the source control server"

C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\TeamBuild\Microsoft.TeamFoundation.Build.targets (838): Unable to create the workspace 'NVM1756PDV_105_7' due to a mapping conflict. You may need to manually delete an old workspace. You can get a list of workspaces on a computer with the command 'tf workspaces /computer:%COMPUTERNAME%'. Details: The path C:\Builds\7\Common_Security\cloud\src is already mapped in workspace NVM1756PDV_104_7.

2

2 Answers

2
votes

Run the tf workspace /delete NVM1756PDV_104_7 command to correct this error.

1
votes

Try using TFS Sidekicks to delete the workspace using the Workspace Sidekick.