I need to get a list of changed files from chageset only and exclude all other junk.
I can get this information from the command tf changeset /i $(changesetnumber) but b
You could use CCNET's Modification Writer Task. Put it to your CCNET configuration's section and process the generated file in your task:
Note: I'm not really experienced in MSBuild so any advice on how to parse the XML output in a more elegant way is highly appreciated.
Hint: task requires .NET 4.0 MSBuild.