What I am trying to achieve is writing a task which will list all the changesets associated with a build and write a changelog file from that list.
I manage to get a list of the changesets associated with a build programmatically using the "informationNodeConverters.GetAssociatedChangesets" method when using the default team build definition, however in our teambuilds we have skipped the CoreLabel target because we don't want to have a new label everytime a new build happens.
When we skip the "CoreLabel" target the "CoreGetChangesetsAndUpdateWorkItems" target won't associate any changeset with the build because this target needs labels to work properly and the method "GetAssociatedChangesets" will return no changeset.
I searched in the documentation if there is a way to list all the changesets from the Version Source, so I could find all the changesets with items in a specific folder and use that to create my file but I couln't find anything. I know it is possible to do because the Team Foundation Server Power Tools 2008 has a similar functionality which allow you to find Changesets inside some folders.
Could anyone help me to find out how to get all the changesets from the version control?
Thanks in advance.