Hello again, I think thisa issue is a bit easier than the last. I am trying to use the "RelatedChangesets" task of TeamBuild and I am getting blank values. Below is my code:
<MSBuild.ExtensionPack.Tfs.TeamBuild TaskAction="RelatedChangesets" TeamFoundationServerUrl="$(TeamFoundationServerUrl)" TeamProject="$(TeamProject)" BuildUri="$(BuildUri)" BuildDefinitionName="$(BuildDefinitionName)">
<Output ItemName="Changesets" TaskParameter="RelatedItems"/>
<Message Text="ID = %(Changesets.Identity), Checked In By = %(Changesets.CheckedInBy), URI = %(Changesets.ChangesetUri), Comment = %(Changesets.Comment)"/>
I am getting the following output:
ID = , Checked In By = , URI = , Comment =
Done executing task "Message".
What I am really attempting to do here is get at the "checked in by" so that I can diff their foreign key table data (schema is handled by the dbproj). Once I know who checked in, I can get their machine name.
Any help on why the values are blank would be greatly appreciated.
Nov 16, 2010 at 1:42 PM
Edited Nov 16, 2010 at 1:43 PM
That looks ok. Are you calling it during a team build and are there changes associated with the build?