Assembly reference missing

Nov 19, 2010 at 10:54 AM

I am trying to get the changesets associated with each build by calling the below script:

<MSBuild.ExtensionPack.Tfs.TeamBuild TaskAction="RelatedChangesets" TeamFoundationServerUrl="$(TeamFoundationServerUrl)" TeamProject="$(TeamProject)" BuildUri="$(BuildUri)" BuildDefinitionName="$(BuildDefinitionName)">
      <Output ItemName="Changesets" TaskParameter="RelatedItems"/>
    </MSBuild.ExtensionPack.Tfs.TeamBuild>
    <Message Text="ID = %(Changesets.Identity), Checked In By = %(Changesets.CheckedInBy), URI = %(Changesets.ChangesetUri), Comment = %(Changesets.Comment)"/>

 

When I try running the script,

It throws me the error:

error : FileNotFoundException: Could not load file or assembly 'Microsoft.TeamFoundation.Build.Client, Ve
rsion=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its
dependencies. The system cannot find the file specified.\r

I have "'Microsoft.TeamFoundation.Build.Client" on my system and it points to Version 10.0

I tried downloading your latest code and changing the assembly reference to point to version 10.0 but it throws up another set of errors.