TFS Error for BuildDetail.BuildServer.TeamFoundationServer.Uri

95 views Asked by At

We have customised xaml template for one of build definition and while migrating it to 64Bit.

Error Compiler error(s) encountered processing expression "BuildDetail.BuildServer.TeamFoundationServer.Uri". 'TeamFoundationServer' is not a member of 'Microsoft.TeamFoundation.Build.Client.IBuildServer'.

1

There are 1 answers

0
Cece Dong - MSFT On BEST ANSWER
  1. Try to re-add all assembly references in your code project for the template and re-build it to see whether you would get any error.

  2. Try buildDetail.BuildServer.TeamProjectCollection.Uri instead of BuildDetail.BuildServer.TeamFoundationServer.Uri.